Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 01:16:43 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330587 - head/converters/osm2pgsql
Message-ID:  <201310170116.r9H1GhDe011079@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Oct 17 01:16:42 2013
New Revision: 330587
URL: http://svnweb.freebsd.org/changeset/ports/330587

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax
  - Convert USE_GMAKE to USES

Deleted:
  head/converters/osm2pgsql/pkg-plist
Modified:
  head/converters/osm2pgsql/Makefile

Modified: head/converters/osm2pgsql/Makefile
==============================================================================
--- head/converters/osm2pgsql/Makefile	Thu Oct 17 01:15:50 2013	(r330586)
+++ head/converters/osm2pgsql/Makefile	Thu Oct 17 01:16:42 2013	(r330587)
@@ -10,26 +10,25 @@ MASTER_SITES=	http://mirror.amdmi3.ru/di
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Convert OSM XML data to PostgreSQL database
 
-LIB_DEPENDS=	proj:${PORTSDIR}/graphics/proj \
-		geos:${PORTSDIR}/graphics/geos \
-		protobuf-c:${PORTSDIR}/devel/protobuf-c
-
 LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libproj.so:${PORTSDIR}/graphics/proj \
+		libgeos.so:${PORTSDIR}/graphics/geos \
+		libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	autoconf automake libtool aclocal autoheader libtoolize
-USE_GMAKE=	yes
+USES=		gmake
 USE_PGSQL=	yes
 USE_GNOME=	libxml2
 
-PORTDOCS=	ChangeLog README AUTHORS TODO
+PLIST_FILES=	bin/nodecachefilereader \
+		bin/osm2pgsql \
+		man/man1/osm2pgsql.1.gz
 
-MAN1=		osm2pgsql.1
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PORTDOCS=	ChangeLog README AUTHORS TODO
+PORTDATA=	*
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/m4/*.m4
@@ -37,12 +36,10 @@ post-patch:
 run-autotools:
 	cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ./autogen.sh
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
 .endfor
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310170116.r9H1GhDe011079>