freebsd-ports/net/pipsecd/Makefile
Mathieu Arnold f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +00:00

32 lines
1 KiB
Makefile

# Created by: Patrick Bihan-Faou <patrick@mindstep.com>
# $FreeBSD$
PORTNAME= pipsecd
PORTVERSION= 19991014
PORTREVISION= 3
CATEGORIES= net security
MASTER_SITES= http://perso.telecom-paristech.fr/~beyssac/pipsec/ \
http://www.komquats.com/distfiles/
DISTNAME= pipsec-19991014
MAINTAINER= cy@FreeBSD.org
COMMENT= Simple IPSEC tunnel tool from Pierre Beyssac
USE_OPENSSL= YES
ALL_TARGET= pipsecd
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pipsecd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/pipsecd.sh ${STAGEDIR}${PREFIX}/etc/rc.d
# ${CHMOD} 755 ${STAGEDIR}${PREFIX}/etc/rc.d/pipsecd.sh;
${MKDIR} ${STAGEDIR}${PREFIX}/etc/ipsec
${INSTALL_DATA} ${WRKSRC}/pipsecd.conf.sample ${STAGEDIR}${PREFIX}/etc/ipsec
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/pipsecd
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/pipsecd
${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${STAGEDIR}${PREFIX}/share/doc/pipsecd
${INSTALL_MAN} ${WRKSRC}/README.port ${STAGEDIR}${PREFIX}/share/doc/pipsecd
.include <bsd.port.mk>