summaryrefslogtreecommitdiffstats
path: root/comms/xcwcp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/xcwcp/Makefile')
-rw-r--r--comms/xcwcp/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/comms/xcwcp/Makefile b/comms/xcwcp/Makefile
index 96d9997..17e5d67 100644
--- a/comms/xcwcp/Makefile
+++ b/comms/xcwcp/Makefile
@@ -1,25 +1,28 @@
# $FreeBSD$
PORTNAME= xcwcp
+
COMMENT= X11 CW Tutor using unixcw
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libcw.so:${PORTSDIR}/comms/unixcw
MASTERDIR= ${.CURDIR}/../unixcw
PLIST= ${.CURDIR}/pkg-plist
-USE_QT4= gui moc_build qmake_build rcc_build uic_build designer
-USE_AUTOTOOLS= autoconf
+USE_QT5= buildtools gui widgets qmake_build
+USES= gettext
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-xcwcp
+XCWCP= yes
PLIST_FILES= bin/xcwcp \
man/man1/xcwcp.1.gz
+LDFLAGS+= -L${LOCALBASE}/lib -lintl
-post-stage:
- # Remove files from the unixcw plist
- for plistfile in `cat ${MASTERDIR}/pkg-plist`; \
- do \
- cleanfile=`echo $${plistfile} | ${SED} -E 's|man/man(.*).gz|man/man\1|'`; \
- ${RM} ${STAGEDIR}${PREFIX}/$${cleanfile}; \
- done
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/xcwcp/xcwcp ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/src/xcwcp/xcwcp.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include "${MASTERDIR}/Makefile"
OpenPOWER on IntegriCloud