aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-autoresponder
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2014-06-01 16:29:59 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2014-06-01 16:29:59 +0000
commit17f5a6499ffc2b92947d17578056e820a1a53d23 (patch)
treebdba0d212f04c2cf5f8446c3a6c82e9a76dc1f5f /mail/qmail-autoresponder
parent879cf33fd396816738745d9792cb79c2c18a0369 (diff)
downloadports-17f5a6499ffc2b92947d17578056e820a1a53d23.tar.gz
ports-17f5a6499ffc2b92947d17578056e820a1a53d23.zip
Notes
Diffstat (limited to 'mail/qmail-autoresponder')
-rw-r--r--mail/qmail-autoresponder/Makefile18
-rw-r--r--mail/qmail-autoresponder/pkg-plist1
2 files changed, 9 insertions, 10 deletions
diff --git a/mail/qmail-autoresponder/Makefile b/mail/qmail-autoresponder/Makefile
index 9ee7072b57b1..3b1f59d0bfd9 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 bb8d35ba8ec1..96627a7917dc 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