Changeset View
Changeset View
Standalone View
Standalone View
comms/wsjt/Makefile
Show All 32 Lines | |||||
CONFIGURE_ARGS= --prefix=${STAGEDIR}${LOCALBASE} \ | CONFIGURE_ARGS= --prefix=${STAGEDIR}${LOCALBASE} \ | ||||
--with-portaudio-include-dir=${LOCALBASE}/include \ | --with-portaudio-include-dir=${LOCALBASE}/include \ | ||||
--with-portaudio-lib-dir=${LOCALBASE}/lib | --with-portaudio-lib-dir=${LOCALBASE}/lib | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LIBS+= -L${LOCALBASE}/lib | LIBS+= -L${LOCALBASE}/lib | ||||
# Adding this breaks configure | # Adding this breaks configure | ||||
#LDFLAGS+= -shared | #LDFLAGS+= -shared | ||||
VERSION= 10 | VERSION= 10 | ||||
PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \ | PLIST_SUB= VERSION=${VERSION} | ||||
VERSION=${VERSION} | |||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
.include <bsd.port.pre.mk> | |||||
.if defined(BOOTSTRAP) || defined(SVN_FETCH) | .if defined(BOOTSTRAP) || defined(SVN_FETCH) | ||||
#portlint freaks over this but it's only for dev. so ignore. | #portlint freaks over this but it's only for dev. so ignore. | ||||
FETCH_DEPENDS+= svn:devel/subversion | FETCH_DEPENDS+= svn:devel/subversion | ||||
SVN_REV!= svn info http://svn.code.sf.net/p/wsjt/wsjt/ | ${GREP} Revision | cut -d' ' -f2 | SVN_REV!= svn info http://svn.code.sf.net/p/wsjt/wsjt/ | ${GREP} Revision | cut -d' ' -f2 | ||||
.else | .else | ||||
.include "Makefile.svn_rev" | .include "Makefile.svn_rev" | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
post-install-DOCS-on: | post-install-DOCS-on: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
.for d in WSJT_Source_Code.txt UpdateHistory.txt LICENSE.TXT call_to.txt \ | .for d in WSJT_Source_Code.txt UpdateHistory.txt LICENSE.TXT call_to.txt \ | ||||
calledby.txt wsjt7a.txt | calledby.txt wsjt7a.txt | ||||
${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR} | ${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR} | ||||
.endfor | .endfor | ||||
.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT} | .include <bsd.port.mk> | ||||
IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER} | |||||
.endif | |||||
.include <bsd.port.post.mk> |