summaryrefslogtreecommitdiffstats
path: root/www/roxen/Makefile
blob: e8a94651d930e682e660600b70b2c85e5e30c7a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	Roxen Challenger
# Date created:		26 February 1999
# Whom:			Kai Voigt (k@123.org)
#
# $FreeBSD$
#

PORTNAME=	roxen
PORTVERSION=	1.3.111
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.roxen.com/roxen/source/
DISTNAME=	roxen_1.3.111-0.6-40bit

MAINTAINER=	k@123.org

WRKSRC=		${WRKDIR}/roxen_1.3.111
GNU_CONFIGURE=	yes
PKGMESSAGE=	${WRKSRC}/MESSAGE

STARTUP_SCRIPT=	${PREFIX}/etc/rc.d/roxen.sh

post-patch:
	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" ${FILESDIR}/roxen.sh.in > \
	  ${WRKDIR}/roxen.sh
	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" ${FILESDIR}/MESSAGE.in > \
	  ${PKGMESSAGE}

do-configure:
	@(cd ${WRKSRC}; \
	  ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})

post-install:
	@if [ ! -f ${STARTUP_SCRIPT} ]; then \
	  ${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \
	  ${INSTALL_SCRIPT} ${WRKDIR}/roxen.sh ${STARTUP_SCRIPT}; \
	fi
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud