aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/proma/Makefile
blob: 1e144a8aad3099a161bd05edbb50cfb6382573f6 (plain) (blame)
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
# 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

BROKEN=     Incomplete pkg-plist

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>