summaryrefslogtreecommitdiff
path: root/mail/qmail-notify/Makefile
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 /mail/qmail-notify/Makefile
parent- Make WITH_MYSQL knob actually useful (diff)
- 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
Diffstat (limited to 'mail/qmail-notify/Makefile')
-rw-r--r--mail/qmail-notify/Makefile23
1 files changed, 12 insertions, 11 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>