mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
11a42e9792
- Fix Makefile - SUB_LIST: to work rc.d scripts proper. - PLIST_SUB: to change pkg-plist based on Make variables. PR: ports/169345 Submitted by: Masaki TAGAWA <masaki@club.kyutech.ac.jp> Approved by: maintainer timeout (yaizawa@2004.jukuin.keio.ac.jp, >3 weeks)
71 lines
1.6 KiB
Makefile
71 lines
1.6 KiB
Makefile
# New ports collection makefile for: quickml
|
|
# Date created: 11 June 2004
|
|
# Whom: Yuichiro AIZAWA <yaizawa@mdbl.sfc.keio.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= quickml
|
|
PORTVERSION= 0.7
|
|
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
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_AUTOTOOLS= autoconf
|
|
GNU_CONFIGURE= yes
|
|
USE_RUBY= yes
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
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-*
|
|
.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
|
|
|
|
.if !defined(WITHOUT_LIMIT)
|
|
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-limit-*
|
|
.endif
|
|
|
|
post-install:
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/messages.ja ${DATADIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ml-usage.en.rd ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/quickml.en.rd ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/quickml.ja.rd ${DOCSDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/with-mta.en.rd ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/with-mta.ja.rd ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|