1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/www/trac-tweakui/Makefile
Mathieu Arnold 4a3bebcae1 Add EXAMPLES options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:15:47 +00:00

36 lines
806 B
Makefile

# Created by: glarkin
# $FreeBSD$
PORTNAME= tweakui
PORTVERSION= 0.1.7413
PORTREVISION= 3
CATEGORIES= www devel python
MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \
LOCAL/glarkin
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
MAINTAINER= joneum@FreeBSD.org
COMMENT= Easily tweak Trac pages with JavaScript expressions
RUN_DEPENDS= tracd:www/trac
USES= dos2unix python:2.7 zip
DOS2UNIX_REGEX= .*\.(css|html|js|py|txt)$
USE_PYTHON= distutils autoplist
NO_ARCH= yes
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
PORTEXAMPLES= *
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/trac${PORTNAME}plugin/0.11
OPTIONS_DEFINE= EXAMPLES
post-install:
cd ${WRKSRC}/tractweakui/htdocs && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>