aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pureadmin/Makefile
blob: 7eca8f4ba9a5ddc01114913fa52ef16747de7f5d (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
33
34
35
# Created by: ijliao
# $FreeBSD$

PORTNAME=   pureadmin
PORTVERSION=    0.4
PORTREVISION=   6
CATEGORIES= ftp
MASTER_SITES=   SF/purify/Default/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Management utility for the PureFTPd

LICENSE=    GPLv2

USES=       fam gettext gmake pathfix pkgconfig
USE_GNOME=  libglade2
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes

OPTIONS_DEFINE= DOCS

CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib -lm ${PTHREAD_LIBS}

PORTDOCS=   index.txt introduction.txt main_window.txt \
        preferences.txt user_manager.txt

pre-configure:
    @${REINPLACE_CMD} -e '/install-data-local:/s|install-docs||' ${WRKSRC}/Makefile.in

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>