diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-17 09:16:42 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-17 09:16:42 +0800 |
commit | 78dee334f3439223e7377389546ee28d7fa6e8b4 (patch) | |
tree | 10dac4bab92e00300a374cb467379f11af5e186c | |
parent | 34625de756d46b7a13bb6b00c72f874221d0a8e4 (diff) | |
download | freebsd-ports-gnome-78dee334f3439223e7377389546ee28d7fa6e8b4.tar.gz freebsd-ports-gnome-78dee334f3439223e7377389546ee28d7fa6e8b4.tar.zst freebsd-ports-gnome-78dee334f3439223e7377389546ee28d7fa6e8b4.zip |
- Support staging
- Use new LIB_DEPENDS syntax
- Convert USE_GMAKE to USES
-rw-r--r-- | converters/osm2pgsql/Makefile | 27 | ||||
-rw-r--r-- | converters/osm2pgsql/pkg-plist | 5 |
2 files changed, 12 insertions, 20 deletions
diff --git a/converters/osm2pgsql/Makefile b/converters/osm2pgsql/Makefile index 54c1997ad72a..6c42672ab86b 100644 --- a/converters/osm2pgsql/Makefile +++ b/converters/osm2pgsql/Makefile @@ -10,26 +10,25 @@ MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ 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> diff --git a/converters/osm2pgsql/pkg-plist b/converters/osm2pgsql/pkg-plist deleted file mode 100644 index 8363a826c538..000000000000 --- a/converters/osm2pgsql/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/nodecachefilereader -bin/osm2pgsql -%%DATADIR%%/900913.sql -%%DATADIR%%/default.style -@dirrm %%DATADIR%% |