mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
5ea47c1452
- Allow staging - Use python auto plist - USES dos2unix - Remove useless NOPORTEXAMPLES
36 lines
809 B
Makefile
36 lines
809 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= ports@FreeBSD.org
|
|
COMMENT= Easily tweak Trac pages with JavaScript expressions
|
|
|
|
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
|
|
|
|
USE_ZIP= yes
|
|
USES= dos2unix
|
|
DOS2UNIX_REGEX= .*\.(css|html|js|py|txt)$
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
|
PORTEXAMPLES= *
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
WRKSRC= ${WRKDIR}/trac${PORTNAME}plugin/0.11
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/tractweakui/htdocs && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|