aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pureadmin/Makefile
blob: a19e6984d70690ddbb57ed85d64e16b691c98614 (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
37
38
39
40
41
# ex:ts=8
# Ports collection makefile for:    pureadmin
# Date created:         Mar 4, 2005
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   pureadmin
PORTVERSION=    0.4
CATEGORIES= ftp
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= purify

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

USE_GNOME=  pkgconfig gnomehack gnometarget libglade2
USE_FAM=    yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
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>