Lines 18-32
Link Here
|
18 |
NO_BUILD= yes |
18 |
NO_BUILD= yes |
19 |
NO_WRKSUBDIR= yes |
19 |
NO_WRKSUBDIR= yes |
20 |
|
20 |
|
|
|
21 |
SUB_FILES= pkg-message wrapper.sh |
22 |
|
21 |
# source code version |
23 |
# source code version |
22 |
SOURCE_VERSION= 24.14 |
24 |
SOURCE_VERSION= 24.14 |
23 |
|
25 |
|
24 |
post-patch: |
|
|
25 |
# prepare wrapper |
26 |
@${SED} \ |
27 |
-e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/wrapper.sh > \ |
28 |
${WRKDIR}/wrapper.sh |
29 |
|
30 |
do-install: |
26 |
do-install: |
31 |
@${INSTALL_PROGRAM} ${WRKSRC}/mprime ${PREFIX}/bin/mprime-real |
27 |
@${INSTALL_PROGRAM} ${WRKSRC}/mprime ${PREFIX}/bin/mprime-real |
32 |
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mprime |
28 |
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/mprime |
Lines 36-41
Link Here
|
36 |
.endif |
32 |
.endif |
37 |
|
33 |
|
38 |
post-install: |
34 |
post-install: |
39 |
@${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE} |
35 |
.if !defined(NOPORTDOCS) |
|
|
36 |
@${CAT} ${PKGMESSAGE} |
37 |
.endif |
40 |
|
38 |
|
41 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |