aboutsummaryrefslogtreecommitdiff
path: root/comms/wsjt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/wsjt/Makefile')
-rw-r--r--comms/wsjt/Makefile22
1 files changed, 13 insertions, 9 deletions
diff --git a/comms/wsjt/Makefile b/comms/wsjt/Makefile
index 441b4054a4ba..ba6366b8d7fb 100644
--- a/comms/wsjt/Makefile
+++ b/comms/wsjt/Makefile
@@ -2,6 +2,7 @@
PORTNAME= wsjt
DISTVERSION= ${VERSION}.r${SVN_REV}
+PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= LOCAL/db
DISTNAME= wsjt-r${SVN_REV}
@@ -40,6 +41,8 @@ VERSION= 10
PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \
VERSION=${VERSION}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if defined(BOOTSTRAP) || defined(SVN_FETCH)
@@ -71,13 +74,8 @@ post-patch:
-e 's|%%PYTHON_VER%%|${PYTHON_VER}|'\
${WRKSRC}/configure.ac
-post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for d in WSJT_Source_Code.txt UpdateHistory.txt LICENSE.TXT call_to.txt \
- calledby.txt wsjt7a.txt
- ${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR}
-.endfor
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/wsjt/WsjtMod/Audio.so
+do-build:
+ (cd ${WRKSRC};${GMAKE})
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
@@ -96,8 +94,14 @@ do-install:
dmet_20_-3_2.dat wsjtrc wsjt.py Pmw.py PmwColor.py PmwBlt.py
${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}
.endfor
-do-build:
- (cd ${WRKSRC};${GMAKE})
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/wsjt/WsjtMod/Audio.so
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for d in WSJT_Source_Code.txt UpdateHistory.txt LICENSE.TXT call_to.txt \
+ calledby.txt wsjt7a.txt
+ ${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR}
+.endfor
.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}