# Created by: Sergei Kolobov # $FreeBSD: head/mail/qmail-notify/Makefile 364152 2014-08-06 04:34:23Z adamw $ PORTNAME= qmail-notify PORTVERSION= 0.93 PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://untroubled.org/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Delayed delivery notification for qmail CFLAGS+= -DHAVE_SRANDOM DOCS= NEWS README TODO EXAMPLES= cron.hourly message.txt OPTIONS_DEFINE= DOCS EXAMPLES do-configure: ${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc ${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld do-install: (cd ${WRKSRC} && ./installer) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) .include