freebsd-ports/comms/xcwcp/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

29 lines
666 B
Makefile

PORTNAME= xcwcp
PORTREVISION= 2
COMMENT= X11 CW Tutor using unixcw
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcw.so:comms/unixcw
MASTERDIR= ${.CURDIR}/../unixcw
USES= compiler:c++11-lang gettext qt:5
USE_QT= gui widgets buildtools_build qmake_build
USE_CXXSTD= c++11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-xcwcp
XCWCP= yes
PLIST_FILES= bin/xcwcp \
man/man1/xcwcp.1.gz
LDFLAGS+= -L${LOCALBASE}/lib -lintl
PLIST= ${.CURDIR}/pkg-plist
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"