summaryrefslogtreecommitdiffstats
path: root/ftp/pureadmin/Makefile
blob: d54e30a54c753ba4417a50d3e2adee7bb0171ecb (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
31
32
33
34
# Created by: ijliao
# $FreeBSD$

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

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

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		fam gettext gmake localbase pathfix pkgconfig
USE_GNOME=	intltool libglade2
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
LIBS+=		-lX11 -lm

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

OPTIONS_DEFINE=	DOCS

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

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud