aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-12-24 22:03:50 +0800
committersergei <sergei@FreeBSD.org>2003-12-24 22:03:50 +0800
commit765348d1097d6d9fd298a1eaaf85f33b113faf29 (patch)
tree4b645f0684c9ea87dfd82fe3c88700cfceefcbf6 /mail
parent17381c8d56e29999ae0f7503cb740045adf46d51 (diff)
downloadfreebsd-ports-gnome-765348d1097d6d9fd298a1eaaf85f33b113faf29.tar.gz
freebsd-ports-gnome-765348d1097d6d9fd298a1eaaf85f33b113faf29.tar.zst
freebsd-ports-gnome-765348d1097d6d9fd298a1eaaf85f33b113faf29.zip
- Remove documentation file which duplicates content of others
- Cosmetic fixes for consistency with other untroubled.org ports - Bump PORTREVISION
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail-notify/Makefile23
-rw-r--r--mail/qmail-notify/pkg-plist16
2 files changed, 20 insertions, 19 deletions
diff --git a/mail/qmail-notify/Makefile b/mail/qmail-notify/Makefile
index 15cbe01906a6..4ce82c89247c 100644
--- a/mail/qmail-notify/Makefile
+++ b/mail/qmail-notify/Makefile
@@ -7,30 +7,31 @@
PORTNAME= qmail-notify
PORTVERSION= 0.93
+PORTREVISION= 1
CATEGORIES= mail
-MASTER_SITES= http://untroubled.org/qmail-notify/
+MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= sergei@FreeBSD.org
COMMENT= Delayed delivery notification for qmail
+CFLAGS+= -DHAVE_SRANDOM
+LDFLAGS?= -s
+
+DOCS= NEWS README TODO
EXAMPLES= cron.hourly message.txt
-DOCS= ANNOUNCEMENT NEWS README TODO
-pre-build:
- ${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
- ${ECHO_CMD} ${CC} ${CFLAGS} -DHAVE_SRANDOM > ${WRKSRC}/conf-cc
+do-configure:
+ ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
+ ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
do-install:
cd ${WRKSRC} && ./installer
@${MKDIR} ${EXAMPLESDIR}
-.for file in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/mail/qmail-notify/pkg-plist b/mail/qmail-notify/pkg-plist
index 7b0e4a61b004..e751c381dabc 100644
--- a/mail/qmail-notify/pkg-plist
+++ b/mail/qmail-notify/pkg-plist
@@ -1,9 +1,9 @@
+@comment $FreeBSD$
bin/qmail-notify
-share/examples/qmail-notify/cron.hourly
-share/examples/qmail-notify/message.txt
-%%PORTDOCS%%share/doc/qmail-notify/ANNOUNCEMENT
-%%PORTDOCS%%share/doc/qmail-notify/NEWS
-%%PORTDOCS%%share/doc/qmail-notify/README
-%%PORTDOCS%%share/doc/qmail-notify/TODO
-%%PORTDOCS%%@dirrm share/doc/qmail-notify
-@dirrm share/examples/qmail-notify
+%%EXAMPLESDIR%%/cron.hourly
+%%EXAMPLESDIR%%/message.txt
+@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%