diff options
author | sergei <sergei@FreeBSD.org> | 2003-12-24 22:01:43 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2003-12-24 22:01:43 +0800 |
commit | 17381c8d56e29999ae0f7503cb740045adf46d51 (patch) | |
tree | 69fc41e7d84ca5803d5dcc43a5ec2c435f412a52 | |
parent | bec7ef9a6c11939438a9058bb1961fca8b26a9a8 (diff) | |
download | freebsd-ports-gnome-17381c8d56e29999ae0f7503cb740045adf46d51.tar.gz freebsd-ports-gnome-17381c8d56e29999ae0f7503cb740045adf46d51.tar.zst freebsd-ports-gnome-17381c8d56e29999ae0f7503cb740045adf46d51.zip |
- Make WITH_MYSQL knob actually useful
- Cosmetic fixes for consistency with other untroubled.org ports
- Bump PORTREVISION
-rw-r--r-- | mail/qmail-autoresponder/Makefile | 15 | ||||
-rw-r--r-- | mail/qmail-autoresponder/pkg-plist | 1 |
2 files changed, 12 insertions, 4 deletions
diff --git a/mail/qmail-autoresponder/Makefile b/mail/qmail-autoresponder/Makefile index 3ed8023db29f..e151a654f8d6 100644 --- a/mail/qmail-autoresponder/Makefile +++ b/mail/qmail-autoresponder/Makefile @@ -10,19 +10,25 @@ PORTNAME= qmail-autoresponder PORTVERSION= 0.96.1 +PORTREVISION= 1 CATEGORIES= mail -MASTER_SITES= http://untroubled.org/qmail-autoresponder/ +MASTER_SITES= http://untroubled.org/${PORTNAME}/ MAINTAINER= sergei@FreeBSD.org COMMENT= Rate-limited autoresponder for qmail BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-iobuf.a:${PORTSDIR}/devel/bglibs +LDFLAGS?= -s + PROGS= qmail-autoresponder MAN1= qmail-autoresponder.1 DOCS= NEWS README TODO procedure.txt .if defined(WITH_MYSQL) +USE_MYSQL= yes +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib/mysql PROGS+= qmail-autoresponder-mysql DOCS+= schema.mysql PLIST_SUB+= MYSQL="" @@ -32,12 +38,13 @@ PLIST_SUB+= MYSQL="@comment " ALL_TARGET= ${PROGS} -pre-build: - ${ECHO_CMD} "${LOCALBASE}/include/bglibs" > ${WRKSRC}/conf-bgincs - ${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/conf-bglibs +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} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld + ${ECHO_CMD} "${LOCALBASE}/include/bglibs" > ${WRKSRC}/conf-bgincs + ${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/conf-bglibs do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGS} ${PREFIX}/bin diff --git a/mail/qmail-autoresponder/pkg-plist b/mail/qmail-autoresponder/pkg-plist index f7c9ebd623ef..881ab7812a48 100644 --- a/mail/qmail-autoresponder/pkg-plist +++ b/mail/qmail-autoresponder/pkg-plist @@ -1,3 +1,4 @@ +@comment $FreeBSD$ bin/qmail-autoresponder %%MYSQL%%bin/qmail-autoresponder-mysql %%PORTDOCS%%%%DOCSDIR%%/NEWS |