diff options
author | lukem <lukem@pkgsrc.org> | 2001-02-06 18:19:11 +0000 |
---|---|---|
committer | lukem <lukem@pkgsrc.org> | 2001-02-06 18:19:11 +0000 |
commit | d3411b905a081b5ed86051ec3d33edf2b3359a2e (patch) | |
tree | 9e087824b721c76f18d86045ad093a9fb79cbd51 /chat/gale/Makefile | |
parent | aa9c161a9f2ea40a36d3f9e436dcc368e1a7e771 (diff) | |
download | pkgsrc-d3411b905a081b5ed86051ec3d33edf2b3359a2e.tar.gz |
gale - a secure instant messaging system
Diffstat (limited to 'chat/gale/Makefile')
-rw-r--r-- | chat/gale/Makefile | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/chat/gale/Makefile b/chat/gale/Makefile new file mode 100644 index 00000000000..85c4bcf44c4 --- /dev/null +++ b/chat/gale/Makefile @@ -0,0 +1,65 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/06 18:19:11 lukem Exp $ +# + +DISTNAME= gale-0.99a +CATEGORIES= chat +MASTER_SITES= http://download.gale.org/ + +MAINTAINER= lukem@netbsd.org +HOMEPAGE= http://gale.org + +DEPENDS+= adns-1.0:../../net/adns/ +DEPENDS+= boehm-gc-5.3:../../devel/boehm-gc/ +DEPENDS+= rsaref-2.0p3:../../security/rsaref/ + +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "NetBSD" +.if exists(/usr/sbin/user) +ADDUSER= /usr/sbin/useradd +ADDGROUP= /usr/sbin/groupadd +USERDEL= /usr/sbin/userdel +GROUPDEL= /usr/sbin/groupdel +.else +DEPENDS+= user>=20000313:../../sysutils/user +ADDUSER= ${LOCALBASE}/sbin/useradd +ADDGROUP= ${LOCALBASE}/sbin/groupadd +USERDEL= ${LOCALBASE}/sbin/userdel +GROUPDEL= ${LOCALBASE}/sbin/groupdel +.endif +.elif ${OPSYS} == "SunOS" +ADDUSER= useradd +ADDGROUP= groupadd +USERDEL= userdel +GROUPDEL= groupdel +.endif +WRKSRC= ${WRKDIR}/${DISTNAME} +DEINSTALL_FILE= ${WRKDIR}/DEINSTALL +INSTALL_FILE= ${WRKDIR}/INSTALL + +GNU_CONFIGURE= YES +USE_LIBTOOL= YES +LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig +CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include/rsaref + +GALE_USER= gale +GALE_GROUP= gale + +pre-install: + ${SED} -e 's|@GALE_USER@|${GALE_USER}|g' \ + -e 's|@GALE_GROUP@|${GALE_GROUP}|g' \ + -e 's|@USERDEL@|${USERDEL}|g' \ + -e 's|@GROUPDEL@|${GROUPDEL}|g' \ + < ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} + ${SED} -e 's|@GALE_USER@|${GALE_USER}|g' \ + -e 's|@GALE_GROUP@|${GALE_GROUP}|g' \ + -e 's|@USERDIR@|${USERDIR}|g' \ + -e 's|@ADDUSER@|${ADDUSER}|g' \ + -e 's|@ADDGROUP@|${ADDGROUP}|g' \ + -e 's|@CHGRP@|${CHGRP}|g' \ + -e 's|@GREP@|${GREP}|g' \ + -e 's|@RM@|${RM}|g' \ + -e 's|@TOUCH@|${TOUCH}|g' \ + < ${PKGDIR}/INSTALL > ${INSTALL_FILE} + ${SH} ${INSTALL_FILE} + +.include "../../mk/bsd.pkg.mk" |