freebsd-ports/sysutils/spiped/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

43 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= spiped
PORTVERSION= 1.5.0
PORTREVISION= 2
CATEGORIES= sysutils security
MASTER_SITES= http://www.tarsnap.com/spiped/
MAINTAINER= cperciva@tarsnap.com
COMMENT= Daemon for creating secure symmetric pipes
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
# The spiped build only needs C99, but this will help to get us a compiler
# which has support for AESNI on x86 systems
USES= compiler:c11 tar:tgz
USE_OPENSSL= YES
# Install into ${STAGEDIR}${PREFIX}
MAKE_ARGS+= BINDIR=${STAGEDIR}${PREFIX}/bin
MAKE_ARGS+= MAN1DIR=${STAGEDIR}${PREFIX}/man/man1
# Force __BSD_VISIBLE on since it works and improves performance;
# add -I and -L directories for OpenSSL
MAKE_ARGS+= CFLAGS="-O2 -D__BSD_VISIBLE -I${OPENSSLINC}"
MAKE_ARGS+= LDADD_EXTRA="-L${OPENSSLLIB}"
PORTDOCS= BUILDING CHANGELOG COPYRIGHT README STYLE
PLIST_FILES= bin/spipe \
bin/spiped \
man/man1/spipe.1.gz \
man/man1/spiped.1.gz
USE_RC_SUBR= spiped
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>