- Add LICENSE

- Pet portlint
- Switch to @sample

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-29 09:59:53 +00:00
parent 551e44ffbb
commit d053823e60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395537
2 changed files with 6 additions and 4 deletions

View file

@ -13,6 +13,9 @@ DISTNAME= Bitten-${PORTVERSION}
MAINTAINER= tim@niemueller.de
COMMENT= Continuous integration for Trac
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
.if defined(MAINTAINER_MODE)
UID_FILES+= ../../UIDs
GID_FILES+= ../../GIDs
@ -30,8 +33,9 @@ OPTIONS_DEFAULT= BITTEN_MASTER
BITTEN_MASTER_RUN_DEPENDS= tracd:${PORTSDIR}/www/trac
NO_BUILD= yes
NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
USE_PYTHON= autoplist distutils
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} TOUCH=${TOUCH} CHOWN=${CHOWN} \
RM=${RM:Q} USERS=${USERS}
SUB_FILES+= pkg-message

View file

@ -1,3 +1 @@
@unexec if cmp -s %D/%%ETCDIR%%/bitten-slave.sample %D/%%ETCDIR%%/bitten-slave.conf; then rm -f %D/%%ETCDIR%%/bitten-slave.conf; fi
%%ETCDIR%%/bitten-slave.sample
@exec if [ ! -f %D/%%ETCDIR%%/bitten-slave.conf ] ; then cp -p %D/%F %B/bitten-slave.conf; fi
@sample %%ETCDIR%%/bitten-slave.sample