diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-01-13 10:39:01 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-01-13 10:39:01 +0000 |
commit | 154e59864e15c9859693c3e412db4383ce1945ef (patch) | |
tree | 9f8f1e8ea5963dc8c8c8f853460916f177aeb8aa /mail/popa3d | |
parent | add py-jabber 0.2 (diff) |
- moved chroot dir from /var/empty to ${PREFIX}/empty
- create chroot dir by default
- bumped PORTREVISION
Notes
Notes:
svn path=/head/; revision=53013
Diffstat (limited to 'mail/popa3d')
-rw-r--r-- | mail/popa3d/Makefile | 8 | ||||
-rw-r--r-- | mail/popa3d/pkg-plist | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile index 671bda34f66f..988ed127cc18 100644 --- a/mail/popa3d/Makefile +++ b/mail/popa3d/Makefile @@ -7,6 +7,7 @@ PORTNAME= popa3d PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.openwall.com/popa3d/ \ ftp://ftp.openwall.com/popa3d/ \ @@ -19,6 +20,7 @@ PKGNAMESUFFIX?= -before-sendmail MAINTAINER= dinoex@FreeBSD.org ALL_TARGET= popa3d +CFLAGS+= -DPREFIX=${PREFIX} .if defined(SMTP_AFTER_POP3) EXTRA_PATCHES+= ${FILESDIR}/pop-before-sendmail.patch @@ -33,8 +35,12 @@ post-patch: @${PERL5} -pi -e "s=db1/db.h=db.h=" ${WRKSRC}/pop_root.c .endif +pre-patch: + @${PERL5} -pi -e "s=/var/empty=${PREFIX}/empty=" ${WRKSRC}/params.h + pre-install: - @ ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + @${MKDIR} ${PREFIX}/empty do-install: ${INSTALL} ${COPY} -o root -g wheel -m 500 \ diff --git a/mail/popa3d/pkg-plist b/mail/popa3d/pkg-plist index ed48f930d33b..408a2a7154bc 100644 --- a/mail/popa3d/pkg-plist +++ b/mail/popa3d/pkg-plist @@ -3,3 +3,4 @@ libexec/popa3d %%PORTDOCS%%share/doc/popa3d/DESIGN %%PORTDOCS%%share/doc/popa3d/LICENSE %%PORTDOCS%%@dirrm share/doc/popa3d +%%PORTDOCS%%@dirrm empty |