diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-05-02 09:25:56 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-05-02 09:25:56 +0000 |
commit | 57d9985fe45043843150947360e7a1216d5cc666 (patch) | |
tree | f7e5e7d3a203774b1e03e294acb30e729a947056 /devel/pilrc | |
parent | a8f52f2adae1b0d6ced2977f01ffe0707c70e18e (diff) | |
download | pkgsrc-57d9985fe45043843150947360e7a1216d5cc666.tar.gz |
o ${MKDIR} -> ${INSTALL_DATA_DIR}
o simplify docs installation
o simplify WRKSRC -- it's now WRKDIR/PKGNAME
Diffstat (limited to 'devel/pilrc')
-rw-r--r-- | devel/pilrc/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/devel/pilrc/Makefile b/devel/pilrc/Makefile index f5d77b79c1f..851344ff87c 100644 --- a/devel/pilrc/Makefile +++ b/devel/pilrc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/04/30 21:07:22 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2001/05/02 09:25:56 zuntum Exp $ # DISTNAME= pilrc-2_7b @@ -28,7 +28,7 @@ PLIST_SUBST+= PILRCUI='@comment ' EXTRACT_CMD= unzip -aq ${DOWNLOADED_DISTFILE} -WRKSRC= ${WRKDIR}/pilrc-2.7b +WRKSRC= ${WRKDIR}/${PKGNAME} GNU_CONFIGURE= YES DOCDIR= ${PREFIX}/share/doc/html/pilrc @@ -38,13 +38,10 @@ post-extract: ${CHMOD} +x ${WRKSRC}/missing post-install: - ${MKDIR} ${DOCDIR} - ${MKDIR} ${DOCDIR}/images - for f in archive.html download.html index.html contrib.html \ - history.html manual.html ; \ - do \ - ${INSTALL_DATA} ${WRKSRC}/doc/$$f ${DOCDIR} ; \ - done - ${INSTALL_DATA} ${WRKSRC}/doc/images/download.gif ${DOCDIR}/images + ${INSTALL_DATA_DIR} ${DOCDIR} ${DOCDIR}/images + cd ${WRKSRC}/doc && \ + ${INSTALL_DATA} archive.html download.html index.html \ + contrib.html history.html manual.html ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/images/download.gif ${DOCDIR}/images .include "../../mk/bsd.pkg.mk" |