diff options
author | Steve Wills <swills@FreeBSD.org> | 2012-07-22 14:04:11 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2012-07-22 14:04:11 +0000 |
commit | 11a42e9792c631360b731be5d89fcb90092d38f9 (patch) | |
tree | 4e420dc81dba48d25b7c6a38b1bbe2fc5d3d4ca2 /mail/quickml/Makefile | |
parent | fd7dfa9a2b5b1907555dadbfd70d09ca0288ba3a (diff) |
Notes
Diffstat (limited to 'mail/quickml/Makefile')
-rw-r--r-- | mail/quickml/Makefile | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/mail/quickml/Makefile b/mail/quickml/Makefile index 5d140b9494d1..9feed3e17876 100644 --- a/mail/quickml/Makefile +++ b/mail/quickml/Makefile @@ -7,60 +7,52 @@ PORTNAME= quickml PORTVERSION= 0.7 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= mail MASTER_SITES= http://0xcc.net/quickml/ MAINTAINER= yaizawa@2004.jukuin.keio.ac.jp COMMENT= An easy-to-use mailing list system -OPTIONS+= ANALOG "Enable quickml-analog" on \ - LIMIT "Enable Creators and Members Limitation Patch" off - -USERS= quickml -GROUPS= quickml - LICENSE= GPLv2 USE_AUTOTOOLS= autoconf GNU_CONFIGURE= yes USE_RUBY= yes - USE_RC_SUBR= ${PORTNAME} -CONFIGURE_ARGS+= --datadir="${PREFIX}/share/quickml" -CONFIGURE_ARGS+= --with-ruby="${RUBY}" -CONFIGURE_ARGS+= --with-user="${USERS}" -CONFIGURE_ARGS+= --with-group="${GROUPS}" -CONFIGURE_ARGS+= --with-rubydir="${RUBY_LIBDIR}" +USERS= quickml +GROUPS= quickml + +CONFIGURE_ARGS= --datadir="${PREFIX}/share/quickml" \ + --with-ruby="${RUBY}" \ + --with-user="${USERS}" \ + --with-group="${GROUPS}" \ + --with-rubydir="${RUBY_LIBDIR}" + +SUB_LIST= RUBY=${RUBY} + +OPTIONS= ANALOG "Enable quickml-analog" on \ + LIMIT "Enable Creators and Members Limitation Patch" off .include <bsd.port.pre.mk> .if ${RUBY_VER} == 1.9 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ruby19-Makefile.in -.endif - -.if !defined(WITHOUT_LIMIT) -PATCH_DIST_STRIP= -p1 +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ruby19-* .endif .if !defined(WITHOUT_ANALOG) USE_GHOSTSCRIPT_RUN= yes RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot \ convert:${PORTSDIR}/graphics/ImageMagick +PLIST_SUB+= ANALOG="" +.else +PLIST_SUB+= ANALOG="@comment " +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-woanalog-Makefile.in .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 -.if defined(WITHOUT_ANALOG) - ${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/without_quickml-analog +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-limit-* .endif post-install: |