svn commit: r330587 - head/converters/osm2pgsql
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Oct 17 01:16:43 UTC 2013
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 at 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>
More information about the svn-ports-head
mailing list