svn commit: r330590 - head/astro/osmosis
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Oct 17 01:19:59 UTC 2013
Author: amdmi3
Date: Thu Oct 17 01:19:58 2013
New Revision: 330590
URL: http://svnweb.freebsd.org/changeset/ports/330590
Log:
- Support staging
Deleted:
head/astro/osmosis/pkg-plist
Modified:
head/astro/osmosis/Makefile
Modified: head/astro/osmosis/Makefile
==============================================================================
--- head/astro/osmosis/Makefile Thu Oct 17 01:19:38 2013 (r330589)
+++ head/astro/osmosis/Makefile Thu Oct 17 01:19:58 2013 (r330590)
@@ -11,19 +11,21 @@ EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Command line Java app for processing OpenStreetMap data
-NO_STAGE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}
USE_JAVA= yes
JAVA_VERSION= 1.6+
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
post-patch:
@${REINPLACE_CMD} -e 's|^\(MYAPP_HOME=\).*|\1${DATADIR}|' ${WRKSRC}/bin/osmosis
do-install:
- ${MKDIR} ${DATADIR}
- cd ${WRKSRC} && ${COPYTREE_SHARE} "script config lib" ${DATADIR}/
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/osmosis ${PREFIX}/bin/
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "script config lib" ${STAGEDIR}${DATADIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/osmosis ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list