diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2005-02-02 21:06:25 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2005-02-02 21:06:25 +0800 |
commit | bddccc97df09d66be9d605bc7d5cb5af0cace88d (patch) | |
tree | 93bb6a8a1b37f1af045351244c30c3f272558793 /security/racoon2 | |
parent | 0ec78b8c1d97d1b49abcbdb94bf6d4c8e9906afe (diff) | |
download | freebsd-ports-gnome-bddccc97df09d66be9d605bc7d5cb5af0cace88d.tar.gz freebsd-ports-gnome-bddccc97df09d66be9d605bc7d5cb5af0cace88d.tar.zst freebsd-ports-gnome-bddccc97df09d66be9d605bc7d5cb5af0cace88d.zip |
- Make it broken when Kerberos5 is not installed in the system
- Correct paths in documents
Diffstat (limited to 'security/racoon2')
-rw-r--r-- | security/racoon2/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile index feffbb4a1432..130a6356e518 100644 --- a/security/racoon2/Makefile +++ b/security/racoon2/Makefile @@ -14,6 +14,10 @@ EXTRACT_SUFX= .tgz MAINTAINER= sumikawa@FreeBSD.org COMMENT= Racoon2 IPsec daemon +.if !exists(/usr/lib/libkrb5.a) +BROKEN= "Kerberos5 is required in the system" +.endif + USE_RC_SUBR= YES USE_OPENSSL= YES @@ -21,6 +25,7 @@ USE_AUTOCONF_VER=259 CONFIGURE_TARGET= GNU_CONFIGURE= yes CONFIGURE_ARGS+=--sysconfdir=${LOCALBASE}/etc +USE_REINPLACE= yes .if !defined(NOPORTDOCS) PORTDOCS= INSTALL USAGE.iked USAGE.kinkd USAGE.spmd config-usage.ja.txt @@ -39,6 +44,13 @@ pre-patch: ${MV} rc.d-kinkd rc.d-kinkd.in ;\ ${MV} rc.d-spmd rc.d-spmd.in ) +post-patch: +.if !defined(NOPORTDOCS) +.for FILE in ${PORTDOCS} + ${REINPLACE_CMD} -e 's|/usr/local/racoon2|${LOCALBASE}|' ${WRKSRC}/doc/${FILE} +.endfor +.endif + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} |