svn commit: r344556 - head/java/dbvis
Antoine Brodin
antoine at FreeBSD.org
Sun Feb 16 12:49:24 UTC 2014
Author: antoine
Date: Sun Feb 16 12:49:24 2014
New Revision: 344556
URL: http://svnweb.freebsd.org/changeset/ports/344556
QAT: https://qat.redports.org/buildarchive/r344556/
Log:
Stage support
Modified:
head/java/dbvis/Makefile
Modified: head/java/dbvis/Makefile
==============================================================================
--- head/java/dbvis/Makefile Sun Feb 16 12:35:37 2014 (r344555)
+++ head/java/dbvis/Makefile Sun Feb 16 12:49:24 2014 (r344556)
@@ -16,21 +16,17 @@ NO_BUILD= yes
RESTRICTED= Redistribution is not permitted
PLIST_FILES= bin/dbvis
-WRKSRC= DbVisualizer-${PORTVERSION}
+WRKSRC= ${WRKDIR}/DbVisualizer-${PORTVERSION}
-NO_STAGE= yes
do-install:
- cd ${WRKDIR}/${WRKSRC} \
- && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \; \
- && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; \
- && ${LN} -s ${DATADIR}/dbvis ${PREFIX}/bin/dbvis \
- && ${CHMOD} a+x ${DATADIR}/dbvis
+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
+ ${LN} -sf ${DATADIR}/dbvis ${STAGEDIR}${PREFIX}/bin/dbvis
+ ${CHMOD} a+x ${STAGEDIR}${DATADIR}/dbvis
post-install:
- cd ${WRKDIR}/${WRKSRC} && \
- ${FIND} ${DATADIR} -not -type d \
- | ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
- ${FIND} -d ${DATADIR} -type d \
- | ${SED} -ne 's,^${PREFIX}/, at dirrm ,p' >> ${TMPPLIST}
+ ${FIND} ${STAGEDIR}${DATADIR} -not -type d \
+ | ${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST}
+ ${FIND} -d ${STAGEDIR}${DATADIR} -type d \
+ | ${SED} -ne 's,^${STAGEDIR}${PREFIX}/, at dirrm ,p' >> ${TMPPLIST}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list