aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-12-24 14:03:50 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-12-24 14:03:50 +0000
commit55f66aee6f82bc61faee09cd5054af5ed615a797 (patch)
tree6be3e2310eafc6beccc6bfeee9f3c02ea7cfc881
parentd11e5df4a7019f569ef73d8eaa7d7d149e1253d2 (diff)
downloadports-55f66aee6f82bc61faee09cd5054af5ed615a797.tar.gz
ports-55f66aee6f82bc61faee09cd5054af5ed615a797.zip
- Remove documentation file which duplicates content of others
- Cosmetic fixes for consistency with other untroubled.org ports - Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=96533
-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%%