2013-05-12 17:32:12 +02:00
|
|
|
# Created by: Pawel Pekala <c0rn@o2.pl>
|
2008-02-16 20:55:31 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= clawsker
|
2014-08-09 13:58:40 +02:00
|
|
|
PORTVERSION= 0.7.12
|
2008-02-16 20:55:31 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://www.claws-mail.org/tools/
|
|
|
|
|
2011-03-23 17:58:01 +01:00
|
|
|
MAINTAINER= pawel@FreeBSD.org
|
2008-02-16 20:55:31 +01:00
|
|
|
COMMENT= Applet to edit Claws Mail's hidden preferences
|
|
|
|
|
2012-05-14 18:30:15 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-05-12 17:32:12 +02:00
|
|
|
RUN_DEPENDS= claws-mail>=3.9.1:${PORTSDIR}/mail/claws-mail \
|
2012-06-30 15:10:09 +02:00
|
|
|
p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
|
|
|
|
p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext
|
2008-02-16 20:55:31 +01:00
|
|
|
|
2013-08-29 17:01:46 +02:00
|
|
|
USES= shebangfix perl5
|
2013-05-12 17:32:12 +02:00
|
|
|
SHEBANG_FILES= ${PORTNAME}
|
2008-02-16 20:55:31 +01:00
|
|
|
|
2013-05-12 17:32:12 +02:00
|
|
|
PORTDOCS= NEWS README
|
2008-02-16 20:55:31 +01:00
|
|
|
|
2013-07-10 21:41:30 +02:00
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
OPTIONS_SUB= yes
|
2012-06-08 00:44:21 +02:00
|
|
|
|
2013-07-10 21:41:30 +02:00
|
|
|
NLS_USES= gettext
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2008-06-28 16:48:43 +02:00
|
|
|
|
2013-05-12 17:32:12 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} '/^DATADIR/s|/share||' ${WRKSRC}/Makefile
|
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
|
|
@${REINPLACE_CMD} '/-C po/d' ${WRKSRC}/Makefile
|
|
|
|
.endif
|
|
|
|
|
2009-01-28 19:14:35 +01:00
|
|
|
post-install:
|
2013-10-05 18:52:12 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|g} ${STAGEDIR}${DOCSDIR}
|
2009-01-28 19:14:35 +01:00
|
|
|
|
2008-02-16 20:55:31 +01:00
|
|
|
.include <bsd.port.mk>
|