Lines 13-34
Link Here
|
13 |
|
13 |
|
14 |
MAINTAINER= giffunip@asme.org |
14 |
MAINTAINER= giffunip@asme.org |
15 |
|
15 |
|
16 |
USE_X_PREFIX= yes |
|
|
17 |
NO_WRKSUBDIR= yes |
16 |
NO_WRKSUBDIR= yes |
|
|
17 |
USE_X_PREFIX= yes |
18 |
MAKEFILE= makefile |
18 |
MAKEFILE= makefile |
19 |
ALL_TARGET= pns |
19 |
ALL_TARGET= pns |
20 |
|
20 |
|
|
|
21 |
post-patch: |
22 |
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns |
23 |
|
21 |
do-install: |
24 |
do-install: |
22 |
${MKDIR} ${PREFIX}/lib/xpns |
|
|
23 |
${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/lib/xpns/ |
24 |
${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/lib/xpns/ |
25 |
${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/lib/xpns/ |
26 |
${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns |
25 |
${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns |
27 |
|
26 |
${MKDIR} ${PREFIX}/libexec/xpns |
28 |
post-install: |
27 |
${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/libexec/xpns |
|
|
28 |
${MKDIR} ${PREFIX}/share/xpns |
29 |
${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/share/xpns |
30 |
${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/share/xpns |
29 |
.if !defined(NOPORTDOCS) |
31 |
.if !defined(NOPORTDOCS) |
30 |
${MKDIR} ${PREFIX}/share/doc/xpns |
32 |
${MKDIR} ${PREFIX}/share/doc/xpns |
31 |
${CP} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns/ |
33 |
${INSTALL_DATA} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns |
32 |
.endif |
34 |
.endif |
33 |
|
35 |
|
34 |
.include <bsd.port.mk> |
36 |
.include <bsd.port.mk> |