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

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

MAINTAINER= c.petrik.sosa@gmail.com
COMMENT=    Management utility for the PureFTPd

USES=       pkgconfig
USE_GNOME=  gnomehack libglade2
USE_FAM=    yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes

CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib ${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:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif

.include <bsd.port.mk>