diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/qmail-autoresponder/Makefile | 18 | ||||
-rw-r--r-- | mail/qmail-autoresponder/pkg-plist | 1 |
2 files changed, 9 insertions, 10 deletions
diff --git a/mail/qmail-autoresponder/Makefile b/mail/qmail-autoresponder/Makefile index 9ee7072b57b..3b1f59d0bfd 100644 --- a/mail/qmail-autoresponder/Makefile +++ b/mail/qmail-autoresponder/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= http://untroubled.org/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Rate-limited autoresponder for qmail -LIB_DEPENDS= bg-sysdeps.2:${PORTSDIR}/devel/bglibs +LIB_DEPENDS= libbg-sysdeps.so:${PORTSDIR}/devel/bglibs USE_MYSQL= yes @@ -18,24 +18,22 @@ CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/bglibs LDFLAGS+= -L${LOCALBASE}/lib/mysql -L${LOCALBASE}/lib/bglibs PROGS= qmail-autoresponder qmail-autoresponder-mysql -MAN1= qmail-autoresponder.1 DOCS= NEWS README TODO procedure.txt schema.mysql ALL_TARGET= ${PROGS} -NO_STAGE= yes do-configure: - ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin - ${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man - ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc + ${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin + ${ECHO_CMD} "${STAGEDIR}${MANPREFIX}/man" > ${WRKSRC}/conf-man + ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc ${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld do-install: - cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGS} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 + cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGS} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/qmail-autoresponder.1 ${STAGEDIR}${MANPREFIX}/man/man1 .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/mail/qmail-autoresponder/pkg-plist b/mail/qmail-autoresponder/pkg-plist index bb8d35ba8ec..96627a7917d 100644 --- a/mail/qmail-autoresponder/pkg-plist +++ b/mail/qmail-autoresponder/pkg-plist @@ -1,5 +1,6 @@ bin/qmail-autoresponder bin/qmail-autoresponder-mysql +man/man1/qmail-autoresponder.1.gz %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO |