cf118ccf87
Reported by: lwhsu
29 lines
666 B
Makefile
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"
|