summaryrefslogtreecommitdiff
path: root/misc/xiphos/Makefile
blob: ea4485ab076a7deb880de428e4370af2c3be22a9 (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
# New ports collection makefile for: gnomesword
# Date created:   Oct 26, 2002
# Whom:           J Shoemaker <shoemaker@softhome.net>
#
# $FreeBSD$
#

PORTNAME=		gnomesword
PORTVERSION=		0.7.5
PORTREVISION=		1
CATEGORIES=		misc
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=		shoemaker@softhome.net

LIB_DEPENDS=		sword.1:${PORTSDIR}/misc/sword
BUILD_DEPENDS=		aspell:${PORTSDIR}/textproc/aspell

USE_GNOMENG=		yes
USE_GNOME=		gal gnomehack gnomeprefix gtkhtml
USE_X_PREFIX=   	yes
USE_GMAKE=      	yes
GNU_CONFIGURE=		yes

DOC_FILES=	AUTHORS COPYING ChangeLog INSTALL NEWS README TODO

post-configure:
	${ECHO} "#define PACKAGE_PIXMAPS_DIR \"${PREFIX}/share/gnome/pixmaps/gnomesword\"">> ${WRKSRC}/config.h

post-install:
.ifndef(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>