summaryrefslogtreecommitdiffstats
path: root/ftp/proma/Makefile
blob: d557e0a3a5f556a7a1b5d06b1f20a34c0fead68e (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
# New ports collection makefile for:    proma
# Date created:         25.08.2003
# Whom:                 HSIN-HSIUNG CHANG <sexbear@tmu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	proma
PORTVERSION=	0.8.1
CATEGORIES=	ftp
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	sexbear@tmu.edu.tw
COMMENT=	Administrating a ProFTPd server storing users in a MySQL database

NO_BUILD=	yes

MYADMDIR?=	www/data/proma

PLIST_SUB+=	MYADMDIR=${MYADMDIR}

do-install:
	${MKDIR} ${PREFIX}/${MYADMDIR}
	@${FIND} ${WRKSRC} ! -path '*/CVS*' | \
		${XARGS} -n1 ${SH} -c 'if ${TEST} -d $$0; \
			then ${MKDIR} ${PREFIX}/${MYADMDIR}$${0#${WRKSRC}}; \
			else ${INSTALL_DATA} $$0 ${PREFIX}/${MYADMDIR}$${0#${WRKSRC}}; fi'
	@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud