aboutsummaryrefslogtreecommitdiffstats
path: root/comms/xcwcp/Makefile
blob: 17e5d675f1286de6a31b41bef4008bc05320ab16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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_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

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"