aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorTim Bishop <tdb@FreeBSD.org>2005-12-11 19:20:01 +0000
committerTim Bishop <tdb@FreeBSD.org>2005-12-11 19:20:01 +0000
commit8b10c216cdd5f38ff51c336fdf07014cd031a224 (patch)
tree6007d57425f253d6d7f4805180c3f74744093157 /comms
parentc558d4c3f2f3bb363d5895fb08e91454b6165e3a (diff)
downloadports-8b10c216cdd5f38ff51c336fdf07014cd031a224.tar.gz
ports-8b10c216cdd5f38ff51c336fdf07014cd031a224.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/twpsk/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/comms/twpsk/Makefile b/comms/twpsk/Makefile
index 8379cd3e6505..120bb7f53e05 100644
--- a/comms/twpsk/Makefile
+++ b/comms/twpsk/Makefile
@@ -15,7 +15,16 @@ COMMENT= A openmotif X psk31 client
USE_XPM= yes
USE_MOTIF= yes
+USE_REINPLACE= yes
MAN1= psk31.1
+FILES_TO_PATCH= Makefile psk31.1 twpskHelp
+post-patch:
+.for file in ${FILES_TO_PATCH}
+ @${REINPLACE_CMD} -e \
+ 's|/usr/local|${LOCALBASE}|g;s|/usr/X11R6|${X11BASE}|g' \
+ ${WRKSRC}/${file}
+.endfor
+
.include <bsd.port.mk>