freebsd-ports/comms/tqsllib/Makefile
2012-09-23 20:47:31 +00:00

43 lines
1.1 KiB
Makefile

#
# $FreeBSD$
#
PORTNAME= tqsllib
PORTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= SF/trustedqsl/tqsllib/V2.2/
MAINTAINER= db@FreeBSD.org
COMMENT= Amateur Radio Station electronic trusted logbook libraries
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
GNU_CONFIGURE= YES
USE_LDCONFIG= YES
CONFIGURE_ARGS+= "CXXFLAGS=${CXXFLAGS} -fpermissive" --enable-docs=no
.include <bsd.port.pre.mk>
WITH_OPENSSL_HACK7= yes
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
pre-install:
(cd ${WRKSRC}; \
make converter;make gen_crq; \
make load_cert;make station_loc)
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/converter ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/gen_crq ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/load_cert ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/station_loc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/tqsllib
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/tqsllib
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/tqsllib
.endif
.include <bsd.port.post.mk>