diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-30 01:23:54 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-30 01:23:54 +0000 |
commit | f1ff98024fb3ec2c177e5c11ed6e0472120bbd05 (patch) | |
tree | 5e9075c1370142b92c1b0d8fb53ee95c7d0df240 /irc | |
parent | c132301983ac0738b6f8bf5a1aa03648b4abea36 (diff) | |
download | ports-f1ff98024fb3ec2c177e5c11ed6e0472120bbd05.tar.gz ports-f1ff98024fb3ec2c177e5c11ed6e0472120bbd05.zip |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/nefarious/Makefile | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/irc/nefarious/Makefile b/irc/nefarious/Makefile index 620109d318ed..8d5994d52a1b 100644 --- a/irc/nefarious/Makefile +++ b/irc/nefarious/Makefile @@ -22,8 +22,8 @@ OPTIONS_DEFINE= SSL CHROOT DOCS CHROOT_DESC= Chroot the irc daemon within INSTALL_PREFIX SSL_CONFIGURE_ENABLE= ssl - -.include <bsd.port.options.mk> +SSL_USE= OPENSSL=yes +CHROOT_CONFIGURE_ON= --with-chroot=${INSTALL_PREFIX} .if defined(NEFARIUS_INSTALL_PREFIX) INSTALL_PREFIX=${NEFARIUS_INSTALL_PREFIX} @@ -32,14 +32,6 @@ INSTALL_PREFIX=${PREFIX}/${PORTNAME} .endif STAGEPREFIX=${STAGEDIR}${INSTALL_PREFIX} -.if ${PORT_OPTIONS:MSSL} -USE_OPENSSL= yes -.endif - -.if ${PORT_OPTIONS:MCHROOT} -CONFIGURE_ARGS+= --with-chroot=${INSTALL_PREFIX} -.endif - .if defined(NEFARIOUS_DOMAIN) CONFIGURE_ARGS+= --with-domain=${NEFARIOUS_DOMAIN} .endif @@ -67,16 +59,17 @@ pre-configure: @${ECHO_CMD} "NEFARIOUS_DOMAIN - Domain to use for IRCd" do-install: - ${MKDIR} ${STAGEPREFIX}/bin ${STAGEPREFIX}/lib/help + @${MKDIR} ${STAGEPREFIX}/bin ${STAGEPREFIX}/lib/help ${INSTALL_PROGRAM} ${WRKSRC}/ircd/ircd ${STAGEPREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/ircd/chkconf ${STAGEPREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${STAGEPREFIX}/lib ${INSTALL_MAN} ${WRKSRC}/doc/ircd.8 ${STAGEDIR}${MANPREFIX}/man/man8 -.if ${PORT_OPTIONS:MDOCS} - cd ${WRKSRC}/help && \ + (cd ${WRKSRC}/help && \ ${COPYTREE_SHARE} users ${STAGEPREFIX}/lib/help && \ - ${COPYTREE_SHARE} opers ${STAGEPREFIX}/lib/help - cd ${STAGEPREFIX}/lib/help/opers && ${CP} ${SYMLINKS} ../users -.endif + ${COPYTREE_SHARE} opers ${STAGEPREFIX}/lib/help) + (cd ${STAGEPREFIX}/lib/help/opers && ${CP} ${SYMLINKS} ../users) + +post-install: + ${STRIP_CMD} ${STAGEPREFIX}/bin/chkconf .include <bsd.port.mk> |