diff options
author | sem <sem@FreeBSD.org> | 2005-01-09 02:17:14 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-01-09 02:17:14 +0800 |
commit | 79a1d84ed40fc21b9f9e38df0e266c8b8b789aef (patch) | |
tree | 56649326602de7b7e0a7dd9a105f29dd93bc6a38 /mail | |
parent | 5818db5d15b78bbadfcf61efae09c48a06c1e418 (diff) | |
download | freebsd-ports-gnome-79a1d84ed40fc21b9f9e38df0e266c8b8b789aef.tar.gz freebsd-ports-gnome-79a1d84ed40fc21b9f9e38df0e266c8b8b789aef.tar.zst freebsd-ports-gnome-79a1d84ed40fc21b9f9e38df0e266c8b8b789aef.zip |
- Implement a new option (off by default)
PR: ports/75871
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/quickml/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/mail/quickml/Makefile b/mail/quickml/Makefile index b7d4ef3fabb4..4f1776ae58fc 100644 --- a/mail/quickml/Makefile +++ b/mail/quickml/Makefile @@ -14,7 +14,8 @@ MASTER_SITES= http://namazu.org/%7esatoru/quickml/ MAINTAINER= yaizawa@mdbl.sfc.keio.ac.jp COMMENT= An easy-to-use mailing list system -OPTIONS+= ANALOG "Enable quickml-analog" on +OPTIONS+= ANALOG "Enable quickml-analog" on \ + LIMIT "Enable Creators and Members Limitation Patch" off PKGINSTALL= ${WRKDIR}/pkg-install @@ -38,13 +39,25 @@ CONFIGURE_ARGS+= --with-rubydir="${RUBY_LIBDIR}" .include <bsd.port.pre.mk> +.if !defined(WITHOUT_LIMIT) +PATCH_DIST_STRIP= -p1 +.endif + .if !defined(WITHOUT_ANALOG) USE_GHOSTSCRIPT_RUN= yes RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot \ convert:${PORTSDIR}/graphics/ImageMagick .endif +post-fetch: +.if !defined(WITHOUT_LIMIT) + @ ( cd ${DISTDIR} && ${FETCH_CMD} -o ${PORTNAME}-${PORTVERSION}-limited.patch "http://linux.matchy.net/view.xcg?c=plugin;plugin=attach_download;p=QuickMLLimited;file_name=${PORTNAME}-${PORTVERSION}-limited.patch" ) +.endif + post-patch: +.if !defined(WITHOUT_LIMIT) + ${PATCH} ${PATCH_DIST_ARGS} < ${DISTDIR}/${PORTNAME}-${PORTVERSION}-limited.patch +.endif @${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${FILESDIR}/quickml.sh > ${WRKDIR}/quickml.sh .if defined(WITHOUT_ANALOG) |