diff options
Diffstat (limited to 'cad/geda-docs/Makefile')
-rw-r--r-- | cad/geda-docs/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/cad/geda-docs/Makefile b/cad/geda-docs/Makefile index ac0ae293c5f..9faab661457 100644 --- a/cad/geda-docs/Makefile +++ b/cad/geda-docs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/09/01 12:00:43 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.19 2007/02/21 13:23:56 dmcmahill Exp $ # DISTNAME= geda-docs-${PKGVERSION} @@ -16,5 +16,16 @@ CONFLICTS+= gEDA<19991011 .include "../../cad/geda/Makefile.common" GNU_CONFIGURE= YES +USE_TOOLS+= find + +PLIST_SRC= ${WRKDIR}/PLIST + +post-install: + ${CAT} ${.CURDIR}/PLIST.pre > ${PLIST_SRC} + ${FIND} ${PREFIX}/share/doc/geda-doc/wiki -type f -print | \ + ${SORT} | ${SED} 's;^${PREFIX}/;;g' >> ${PLIST_SRC} + ${FIND} ${PREFIX}/share/doc/geda-doc/wiki -type d -print | \ + ${SORT} -r | ${SED} 's;^${PREFIX}/;@dirrm ;g' >> ${PLIST_SRC} + ${CAT} ${.CURDIR}/PLIST.post >> ${PLIST_SRC} .include "../../mk/bsd.pkg.mk" |