aboutsummaryrefslogtreecommitdiffstats
path: root/cad/qcad
diff options
context:
space:
mode:
authormr <mr@FreeBSD.org>2004-03-29 00:42:17 +0800
committermr <mr@FreeBSD.org>2004-03-29 00:42:17 +0800
commit54f4b374c74d38fb7707f3a1df91fefe0bf12ff9 (patch)
tree310a352abd64fac677dc4297cf585abe2a1bc186 /cad/qcad
parent5691cb39c3a636b636dae34b6628bcfc7d90f856 (diff)
downloadfreebsd-ports-gnome-54f4b374c74d38fb7707f3a1df91fefe0bf12ff9.tar.gz
freebsd-ports-gnome-54f4b374c74d38fb7707f3a1df91fefe0bf12ff9.tar.zst
freebsd-ports-gnome-54f4b374c74d38fb7707f3a1df91fefe0bf12ff9.zip
correct pkg-plist creation.
do not handle libraries datadir since it is handled by qcad-partslib.
Diffstat (limited to 'cad/qcad')
-rw-r--r--cad/qcad/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index 29c7d429ea9d..38efe551ebb4 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -45,7 +45,6 @@ do-build:
pre-install:
@${ECHO_CMD} bin/qcad > ${PLIST}
- @${ECHO_CMD} '@exec mkdir -p %D/share/qcad/libraries' >> ${PLIST}
@${FIND} ${WRKSRC}/qcad/doc/ -type f | \
${SED} -e "s:^${WRKSRC}/:%%PORTDOCS%%share/:g" >> ${PLIST}
@${FIND} ${WRKSRC}/qcad/examples/ -type f | \
@@ -58,18 +57,19 @@ pre-install:
${SED} -e "s:^${WRKSRC}/:share/:g" >> ${PLIST}
@${FIND} ${WRKSRC}/qcad/scripts/ -type f | \
${SED} -e "s:^${WRKSRC}/:share/:g" >> ${PLIST}
- @${ECHO_CMD} '%%PORTDOCS%%@dirrm share/qcad/doc' >> ${PLIST}
+ @${FIND} -d ${WRKSRC}/qcad/doc -type d | \
+ ${SED} -e "s:^${WRKSRC}/:%%PORTDOCS%%@dirrm share/:g" >> ${PLIST}
@${ECHO_CMD} '%%PORTDOCS%%@dirrm share/qcad/examples' >> ${PLIST}
- @${ECHO_CMD} '@dirrm share/qcad/libraries' >> ${PLIST}
@${ECHO_CMD} '@dirrm share/qcad/fonts' >> ${PLIST}
@${ECHO_CMD} '@dirrm share/qcad/patterns' >> ${PLIST}
+ @${ECHO_CMD} '@dirrm share/qcad/qm' >> ${PLIST}
@${ECHO_CMD} '@dirrm share/qcad/scripts/python' >> ${PLIST}
@${ECHO_CMD} '@dirrm share/qcad/scripts' >> ${PLIST}
@${ECHO_CMD} '@dirrm share/qcad' >> ${PLIST}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qcad/qcad ${PREFIX}/bin/qcad
- @${MKDIR} ${DATADIR}/libraries
+ @${MKDIR} ${DATADIR}
.for dir in fonts patterns qm scripts
${TAR} -C ${WRKSRC}/qcad --exclude CVS -cf - ${dir} | \
${TAR} -C ${DATADIR} --unlink -xf -