diff --git a/comms/unixcw/Makefile b/comms/unixcw/Makefile index 0cae560eb43c..aa69eb2ae771 100644 --- a/comms/unixcw/Makefile +++ b/comms/unixcw/Makefile @@ -1,58 +1,59 @@ # NOTE: comms/xcwcp is a sub-port of this. When making changes, ensure # it still works as well. PORTNAME?= unixcw PORTVERSION= 3.5.1 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= comms hamradio MASTER_SITES= SF/unixcw/unixcw-${PORTVERSION} DISTNAME= unixcw_${PORTVERSION}.orig MAINTAINER= hamradio@FreeBSD.org COMMENT?= Libs for cw on unix WWW?= http://unixcw.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share .ifndef CONFIGURE_ARGS CONFIGURE_ARGS= --disable-xcwcp .endif CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \ --libdir="${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib #CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib CPPFLAGS=-I${LOCALBASE}/include USES+= gmake libtool ncurses pathfix pkgconfig autoreconf USE_LDCONFIG= yes USE_CSTD= gnu99 WRKSRC= ${WRKDIR}/unixcw-${PORTVERSION} MAJOR_LIB_VER= 6 MINOR_LIB_VER= 6.1 PLIST_SUB= MAJOR_LIB_VER=${MAJOR_LIB_VER} PLIST_SUB+= MINOR_LIB_VER=${MINOR_LIB_VER} OPTIONS_DEFINE= NLS NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls CONFLICTS_INSTALL= cw .ifndef XCWCP OPTIONS_DEFINE+= ALSA PULSEAUDIO OPTIONS_DEFAULT+= ALSA PULSEAUDIO ALSA_CONFIGURE_ENABLE= alsa PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio ALSA_BUILD_DEPENDS= ${LOCALBASE}/include/alsa/asoundlib.h:audio/alsa-lib PULSEAUDIO_BUILD_DEPENDS= ${LOCALBASE}/include/pulse/simple.h:audio/pulseaudio .endif post-install: .ifndef XCWCP ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcw.so.${MAJOR_LIB_VER}.${MINOR_LIB_VER} .endif .include diff --git a/comms/unixcw/pkg-plist b/comms/unixcw/pkg-plist index f2ea70d5a851..9d885e42e2cc 100644 --- a/comms/unixcw/pkg-plist +++ b/comms/unixcw/pkg-plist @@ -1,15 +1,15 @@ bin/cw bin/cwcp bin/cwgen include/libcw.h include/libcw_debug.h lib/libcw.a lib/libcw.so lib/libcw.so.%%MAJOR_LIB_VER%% lib/libcw.so.%%MAJOR_LIB_VER%%.%%MINOR_LIB_VER%% libdata/pkgconfig/libcw.pc -man/man1/cw.1.gz -man/man1/cwgen.1.gz -man/man1/cwcp.1.gz -man/man3/libcw.3.gz -man/man7/cw.7.gz +share/man/man1/cw.1.gz +share/man/man1/cwgen.1.gz +share/man/man1/cwcp.1.gz +share/man/man3/libcw.3.gz +share/man/man7/cw.7.gz