diff options
author | marcus <marcus@FreeBSD.org> | 2003-07-06 03:01:41 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-07-06 03:01:41 +0800 |
commit | 540254342d988faadc650eac3b9a52bfb381f0e5 (patch) | |
tree | bf1f3dc47a372e72df51923feb4536817bd8bba8 /german/manpages/Makefile | |
parent | 63df8650c861e4f09aca95367a15d73d1ca0eb68 (diff) | |
download | freebsd-ports-gnome-540254342d988faadc650eac3b9a52bfb381f0e5.tar.gz freebsd-ports-gnome-540254342d988faadc650eac3b9a52bfb381f0e5.tar.zst freebsd-ports-gnome-540254342d988faadc650eac3b9a52bfb381f0e5.zip |
Generate plist either statically or before do-install phase for
compatibility with upcoming bsd.port.mk patches.
Submitted by: Sergey Matveychuk <sem@ciam.ru>
Diffstat (limited to 'german/manpages/Makefile')
-rw-r--r-- | german/manpages/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/german/manpages/Makefile b/german/manpages/Makefile index 30b9c0ddb4f2..d17697714a74 100644 --- a/german/manpages/Makefile +++ b/german/manpages/Makefile @@ -29,12 +29,13 @@ do-build: ${GZIP_CMD} -r ${WRKSRC}/${manpages}/man* || exit 0 .endif +pre-install: + find ${WRKSRC}/${manpages} -type f -print | \ + ${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > ${PLIST} + do-install: cd ${WRKSRC}/${manpages}; \ ${TAR} cf - . | \ (cd ${mandir}; ${TAR} xf - ) - find ${WRKSRC}/${manpages} -type f -print | \ - ${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > \ - ${WRKSRC}/PLIST .include <bsd.port.mk> |