1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/comms/flwrap/Makefile
Adam Weinberger 44eaadcb75 Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
2014-07-15 23:11:12 +00:00

34 lines
743 B
Makefile

# Created by: Diane Bruce <db@db.net>
# $FreeBSD$
PORTNAME= flwrap
PORTVERSION= 1.3.4
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/downloads/flwrap/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
MAINTAINER= db@FreeBSD.org
COMMENT= Flwrap is a companion utility for fldigi
LICENSE= GPLv2
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
USES= gmake dos2unix
GNU_CONFIGURE= yes
CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config"
OPTIONS_DEFINE= DOCS
post-configure:
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' \
-e 's|^CPPFLAGS|#CPPFLAGS|' \
${WRKSRC}/src/Makefile
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>