diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 16:49:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 16:49:05 +0000 |
commit | 0cf3c8581ca7973dc8f0ca611654a8c2f85fb075 (patch) | |
tree | 07085a113cc5be6e514f59072522119ee8e5f57c /x11/xpns | |
parent | 97efb91df291bc6264269b65c141ea710991c8ca (diff) | |
download | pkgsrc-0cf3c8581ca7973dc8f0ca611654a8c2f85fb075.tar.gz |
user-destdir support
Diffstat (limited to 'x11/xpns')
-rw-r--r-- | x11/xpns/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/x11/xpns/Makefile b/x11/xpns/Makefile index 1c6152a6ba2..1ebe81eb8d5 100644 --- a/x11/xpns/Makefile +++ b/x11/xpns/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2008/11/10 17:21:39 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2009/07/07 16:51:09 joerg Exp $ DISTNAME= pns_source PKGNAME= xpns-1.0 @@ -11,23 +11,21 @@ MAINTAINER= pgiffuni@fps.biblos.unal.edu.co HOMEPAGE= http://robotics.ee.uwa.edu.au/pns/ COMMENT= Petri-Net Simulator for Xwindows +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_X11BASE= yes MAKE_FILE= makefile BUILD_TARGET= pns -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin lib/xpns share/doc/xpns do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/xpns - ${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/lib/xpns/ - ${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/lib/xpns/ - ${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/lib/xpns/ - ${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns - -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xpns - ${CP} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns/ + ${INSTALL_PROGRAM} ${WRKSRC}/pns ${DESTDIR}${PREFIX}/lib/xpns/ + ${INSTALL_DATA} ${WRKSRC}/pns.hlp ${DESTDIR}${PREFIX}/lib/xpns/ + ${INSTALL_DATA} ${WRKSRC}/pns.shell ${DESTDIR}${PREFIX}/lib/xpns/ + ${INSTALL_SCRIPT} ${WRKSRC}/xpns ${DESTDIR}${PREFIX}/bin/xpns + ${INSTALL_DATA} ${WRKSRC}/*.net ${DESTDIR}${PREFIX}/share/doc/xpns/ .include "../../x11/libXaw/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |