diff options
-rw-r--r-- | mail/qmail-notify/Makefile | 23 | ||||
-rw-r--r-- | mail/qmail-notify/pkg-plist | 16 |
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%% |