diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-16 12:49:24 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-16 12:49:24 +0000 |
commit | 38f9b1e49eb24f13620cb04887ed70c92aa6754c (patch) | |
tree | 6dbfcd88432286ed963766a136c98deb53b9836c /java | |
parent | b52791a4cb26ee92f6305d62ba1a6d8976a95393 (diff) | |
download | ports-38f9b1e49eb24f13620cb04887ed70c92aa6754c.tar.gz ports-38f9b1e49eb24f13620cb04887ed70c92aa6754c.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/dbvis/Makefile | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/java/dbvis/Makefile b/java/dbvis/Makefile index 060425273c37..e805fc446321 100644 --- a/java/dbvis/Makefile +++ b/java/dbvis/Makefile @@ -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}/,@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}/,@dirrm ,p' >> ${TMPPLIST} .include <bsd.port.mk> |