diff options
author | rillig <rillig@pkgsrc.org> | 2007-05-24 04:46:52 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-05-24 04:46:52 +0000 |
commit | 461f38151cf752d19f5dc513d4d7fb19074eaad4 (patch) | |
tree | 643134d6d7a7ac4bb2aed7c37ebff192e9c973f6 /graphics/urt | |
parent | a3f7d8b7a381af51b4746e6af7693190d1054788 (diff) | |
download | pkgsrc-461f38151cf752d19f5dc513d4d7fb19074eaad4.tar.gz |
Fixed pkglint warnings and file permissions. PKGREVISION++
Diffstat (limited to 'graphics/urt')
-rw-r--r-- | graphics/urt/Makefile | 24 | ||||
-rw-r--r-- | graphics/urt/buildlink3.mk | 4 |
2 files changed, 15 insertions, 13 deletions
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile index 06be6592ea6..939c6898687 100644 --- a/graphics/urt/Makefile +++ b/graphics/urt/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.46 2007/03/11 22:25:55 rillig Exp $ +# $NetBSD: Makefile,v 1.47 2007/05/24 04:46:52 rillig Exp $ DISTNAME= urt PKGNAME= urt-3.1b1 -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= graphics MASTER_SITES= ftp://ftp.cs.utah.edu/pub/dept/OLD/pub/ DISTFILES= urt-3.1b.tar.Z urt-doc.tar urt-img.tar @@ -22,25 +22,27 @@ CONFIGURE_SCRIPT=./Configure CONFIGURE_ARGS+= config/urt HAS_CONFIGURE= yes MAKE_FILE= makefile -BUILD_TARGET= +BUILD_TARGET= # the default one + +INSTALLATION_DIRS_FROM_PLIST= yes post-extract: - ${CHMOD} 644 ${WRKSRC}/man/man1/rletotarga.1 + chmod 644 ${WRKSRC}/man/man1/rletotarga.1 SUBST_CLASSES+= man SUBST_STAGE.man= pre-configure SUBST_FILES.man= config/urt -SUBST_SED.man= 's,^\(\#defpath MAN_DEST\).*,\1 ${PREFIX}/${PKGMANDIR},' +SUBST_SED.man= -e 's,^\(\#defpath MAN_DEST\).*,\1 ${PREFIX}/${PKGMANDIR},' post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt cd ${PREFIX}/share/doc/urt && \ - ${PAX} -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar + pax -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar cd ${PREFIX}/share/examples/urt && \ - ${PAX} -r -p m -f ${DISTDIR}/urt-img.tar && \ - ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} . && \ - ${FIND} . -type d -print | ${XARGS} ${CHMOD} 755 && \ - ${FIND} . -type f -print | ${XARGS} ${CHMOD} 644 + pax -r -p m -f ${DISTDIR}/urt-img.tar + cd ${PREFIX} && \ + chown -R ${ROOT_USER}:${ROOT_GROUP} share/doc/urt share/examples/urt && \ + find share/doc/urt share/examples/urt -type d -print | xargs chmod 755 && \ + find share/doc/urt share/examples/urt -type f -print | xargs chmod 444 .include "../../graphics/netpbm/buildlink3.mk" .include "../../mk/x11.buildlink3.mk" diff --git a/graphics/urt/buildlink3.mk b/graphics/urt/buildlink3.mk index cb8e1367398..0b3c9cefce4 100644 --- a/graphics/urt/buildlink3.mk +++ b/graphics/urt/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:53 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.8 2007/05/24 04:46:52 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ URT_BUILDLINK3_MK:= ${URT_BUILDLINK3_MK}+ @@ -13,7 +13,7 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}urt .if !empty(URT_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.urt+= urt>=3.1b1nb5 -BUILDLINK_ABI_DEPENDS.urt?= urt>=3.1b1nb7 +BUILDLINK_ABI_DEPENDS.urt+= urt>=3.1b1nb7 BUILDLINK_PKGSRCDIR.urt?= ../../graphics/urt .endif # URT_BUILDLINK3_MK |