diff options
author | steve <steve@FreeBSD.org> | 2000-05-29 11:37:09 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-05-29 11:37:09 +0800 |
commit | b970236a5103f2f71040d83be67a584928ee66a4 (patch) | |
tree | f064a1a6aceab47bb9d506869e0adb4afeed2f53 /mail/qmail/Makefile | |
parent | 94f961c1d4aee7ea5c093de1e8489d248a8de37d (diff) | |
download | freebsd-ports-gnome-b970236a5103f2f71040d83be67a584928ee66a4.tar.gz freebsd-ports-gnome-b970236a5103f2f71040d83be67a584928ee66a4.tar.zst freebsd-ports-gnome-b970236a5103f2f71040d83be67a584928ee66a4.zip |
Fix pkg/PLIST and prepare this port to be the MASTERDIR for the upcoming
qmail-ldap port.
PR: 18733
Submitted by: maintainer
Diffstat (limited to 'mail/qmail/Makefile')
-rw-r--r-- | mail/qmail/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile index 89b22785dfb1..8d9ca67172f2 100644 --- a/mail/qmail/Makefile +++ b/mail/qmail/Makefile @@ -21,8 +21,8 @@ MASTER_SITES= http://cr.yp.to/software/ \ # Patch necessary to cope with non-RFC >512 dns entries # Since AOL has been using those, the problem has skyrocketed from minor to # groundzero. qmail being RFC compliant need to be "fixed" to work with those -PATCH_SITES= http://www.ckdhr.com/ckd/ -PATCHFILES= qmail-103.patch +PATCH_SITES?= http://www.ckdhr.com/ckd/ +PATCHFILES?= qmail-103.patch PATCH_DIST_STRIP+= -p1 MAINTAINER= lioux@linf.unb.br @@ -51,7 +51,7 @@ MAN8= qmail-local.8 qmail-lspawn.8 qmail-getpw.8 qmail-remote.8 \ PLIST_SUB= DOCDIR=${DOCDIR} -DOCFILES= ${WRKSRC}/BLURB ${WRKSRC}/BLURB2 ${WRKSRC}/BLURB3 \ +DOCFILES+= ${WRKSRC}/BLURB ${WRKSRC}/BLURB2 ${WRKSRC}/BLURB3 \ ${WRKSRC}/BLURB4 ${WRKSRC}/INTERNALS ${WRKSRC}/SECURITY \ ${WRKSRC}/THOUGHTS ${FILESDIR}/PORT_NOTES \ ${FILESDIR}/PORT_NOTES_FreeBSD_40-RELEASE @@ -82,7 +82,7 @@ CONFIGUREPROGS= ${WRKSRC}/install ${WRKSRC}/dnsfq ${WRKSRC}/hostname \ ${WRKSRC}/dnsip ${WRKSRC}/ipmeprint ${WRKSRC}/dnsptr CONFIGUREFILES= ${WRKSRC}/config ${WRKSRC}/config-fast -.if (${PREFIX} == "/usr/local") +.if (${PREFIX} == ${LOCALBASE}) DOCDIR= share/doc/qmail .else DOCDIR= doc @@ -90,6 +90,10 @@ DOCDIR= doc NO_MTREE= yes +.if !defined(_PREMKINCLUDED) +.include <bsd.port.pre.mk> +.endif + # If you want to change the qmail users, they must be changed in both # work/*/conf-users and pkg/INSTALL. @@ -136,7 +140,12 @@ do-install: @${ECHO} @${SED} s!/usr/local/!${PREFIX}/!g ${PKGDIR}/MESSAGE | /usr/bin/fmt +# hack to allow slave ports to include bsd.port.pre.mk and then this file +.if defined(_PREMKINCLUDED) +.include <bsd.port.post.mk> +.else .include <bsd.port.mk> +.endif # Ugh... ;-) thereal-post-patch: |