summaryrefslogtreecommitdiff
path: root/sysutils/nut22/Makefile
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2001-03-23 13:32:11 +0000
committerJames E. Housley <jeh@FreeBSD.org>2001-03-23 13:32:11 +0000
commit081d9ac52fa52cc82f0edff829454836b4868047 (patch)
treef7626c64e1c5bc5a00d418d64ffa692776bc184a /sysutils/nut22/Makefile
parentStyle fix (diff)
Update to version 0.44.3
- Updaet gd dependancy - Added missing MAN8 - Merged pkg-plist.(doc|cgi) into pkg-plist - General cleanup
Notes
Notes: svn path=/head/; revision=40265
Diffstat (limited to 'sysutils/nut22/Makefile')
-rw-r--r--sysutils/nut22/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/sysutils/nut22/Makefile b/sysutils/nut22/Makefile
index 321af3708e7b..7132ad9b480b 100644
--- a/sysutils/nut22/Makefile
+++ b/sysutils/nut22/Makefile
@@ -6,14 +6,14 @@
#
PORTNAME= nut
-PORTVERSION= 0.44.2
+PORTVERSION= 0.44.3
CATEGORIES= sysutils
MASTER_SITES= http://www.exploits.org/nut/release/
MAINTAINER= jeh@freebsd.org
.if defined(CGI)
-LIB_DEPENDS= gd.1:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
.endif
GNU_CONFIGURE= yes
@@ -22,15 +22,18 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \
--with-modelpath=${PREFIX}/libexec/nut \
--with-statepath=/var/db
-ALL_TARGET= all
+MAN8= powercom.8 apcsmart.8
-PLIST= ${WRKDIR}/PLIST.DYN
+ALL_TARGET= all
NDOCDIR= ${PREFIX}/share/doc/nut
.if defined(CGI)
NCGIDIR= ${PREFIX}/share/nut/cgi
ALL_TARGET+= cgi
+PLIST_SUB+= CGIFILES=""
+.else
+PLIST_SUB+= CGIFILES="@comment "
.endif
pre-fetch:
@@ -38,15 +41,6 @@ pre-fetch:
@${ECHO_MSG} "Type \"make CGI=yes\" if you want to build CGI scripts."
.endif
-pre-install:
- @cp ${PKGDIR}/pkg-plist ${WRKDIR}/PLIST.DYN
-.if !defined(NOPORSDOCS)
- @cat ${PKGDIR}/pkg-plist.doc >> ${WRKDIR}/PLIST.DYN
-.endif
-.if defined(CGI)
- @cat ${PKGDIR}/pkg-plist.cgi >> ${WRKDIR}/PLIST.DYN
-.endif
-
post-install:
@${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" \
${WRKSRC}/scripts/FreeBSD/upsd.sh.sample \
@@ -67,6 +61,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/clients/*.cgi ${NCGIDIR}
@${ECHO_MSG} "Look in ${NCGIDIR} for cgi scripts."
.endif
+.if !defined(NOPORTDOCS)
@${ECHO_MSG} "Look in ${NDOCDIR} for documentation."
+.endif
.include <bsd.port.mk>