diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-10-13 20:22:31 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-10-13 20:22:31 +0000 |
commit | 07234fb9fc56f65f6b50be8a25d8d9ea2469f3e3 (patch) | |
tree | 21241b65694c369c074af8e70cae00c4eefd55d4 /misc/xpns/Makefile | |
parent | 7485f046b2cfb90c6daf15841c36763a1a3a3068 (diff) |
Support CC/CFLAGS/X11BASE/PREFIX properly
Change location of data files from lib/ to share/
PR: 21581
Submitted by: Ports Fury
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=33784
Diffstat (limited to 'misc/xpns/Makefile')
-rw-r--r-- | misc/xpns/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/misc/xpns/Makefile b/misc/xpns/Makefile index eca6f6ea84a2..7323448253f7 100644 --- a/misc/xpns/Makefile +++ b/misc/xpns/Makefile @@ -13,22 +13,24 @@ DISTFILES= pns_source.tar.Z MAINTAINER= giffunip@asme.org -USE_X_PREFIX= yes NO_WRKSUBDIR= yes +USE_X_PREFIX= yes MAKEFILE= makefile ALL_TARGET= pns +post-patch: + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns + do-install: - ${MKDIR} ${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: + ${MKDIR} ${PREFIX}/libexec/xpns + ${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/libexec/xpns + ${MKDIR} ${PREFIX}/share/xpns + ${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/share/xpns + ${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/share/xpns .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/xpns - ${CP} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns/ + ${INSTALL_DATA} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns .endif .include <bsd.port.mk> |