mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
89e07f4a18
Approved by: portmgr (implicit)
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# Created by: Tim Niemueller <tim@niemueller.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bitten
|
|
PORTVERSION= 0.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel www python
|
|
MASTER_SITES= http://ftp.edgewall.com/pub/bitten/ \
|
|
LOCAL/glarkin
|
|
PKGNAMEPREFIX= trac-
|
|
DISTNAME= Bitten-${PORTVERSION}
|
|
|
|
MAINTAINER= tim@niemueller.de
|
|
COMMENT= Continuous integration for Trac
|
|
|
|
.if defined(MAINTAINER_MODE)
|
|
UID_FILES+= ../../UIDs
|
|
GID_FILES+= ../../GIDs
|
|
.endif
|
|
USERS= bitten-slave
|
|
GROUPS= bitten-slave
|
|
BITTEN_UID= 952
|
|
BITTEN_GID= 952
|
|
|
|
OPTIONS_DEFINE= BITTEN_MASTER
|
|
BITTEN_MASTER_DESC= Build bitten master
|
|
|
|
OPTIONS_DEFAULT= BITTEN_MASTER
|
|
|
|
BITTEN_MASTER_RUN_DEPENDS= tracd:${PORTSDIR}/www/trac
|
|
|
|
NO_BUILD= yes
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} TOUCH=${TOUCH} CHOWN=${CHOWN} \
|
|
RM=${RM:Q} USERS=${USERS}
|
|
SUB_FILES+= pkg-message
|
|
PATCH_STRIP= -p1
|
|
USE_RC_SUBR= bitten-slave
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ! ${PORT_OPTIONS:MBITTEN_MASTER}
|
|
PYDISTUTILS_INSTALL_TARGET= --without-master install
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO} Generating initial configuration in ${STAGEDIR}${ETCDIR}/bitten-slave.sample
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${SED} -e 's/@DISTRO@/${OPSYS}/g' -e 's/@DISTRO_VERSION@/${OSREL}/g' ${FILESDIR}/bitten-slave.sample > ${STAGEDIR}${ETCDIR}/bitten-slave.sample
|
|
|
|
.include <bsd.port.mk>
|