aboutsummaryrefslogtreecommitdiffstats
path: root/editors/abiword-devel/Makefile
blob: 87c38373cf6a6b1b8b407627766243481a8e33b1 (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
42
43
# New ports collection makefile for:    AbiWord
# Date created:         3 Mar 1999
# Whom:                 Donald Burr <dburr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   AbiWord
PORTVERSION=    0.7.10
CATEGORIES= editors
MASTER_SITES=   http://download.abisource.com/releases/${PORTVERSION}/src/lf/
DISTNAME=   abi-${PORTVERSION}
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} expat-${PORTVERSION}.tar.gz \
        unixfonts-${PORTVERSION}.tar.gz wv-${PORTVERSION}.tar.gz \
        libiconv-${PORTVERSION}.tar.gz abidistfiles-${PORTVERSION}.tar.gz

MAINTAINER= wolman@cs.washington.edu

# unzip is needed during the installation process
BUILD_DEPENDS=  unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
        png.4:${PORTSDIR}/graphics/png
RUN_DEPENDS=    ispell:${PORTSDIR}/textproc/ispell

DIST_SUBDIR=    AbiWord

WRKSRC=     ${WRKDIR}/abi-${PORTVERSION}/src
USE_XLIB=   yes
USE_GMAKE=  yes
MAKE_ENV=   prefix="${PREFIX}"

.include <bsd.port.pre.mk>

# start by deleting some junk files that should never have been placed
# in the tar file
pre-build:
    cd ${WRKSRC} && ${RM} -f ../user/wp/help/en-US/images/?line.jpg
    cd ${WRKSRC} && ${RM} -f ../user/wp/help/en-US/images/?space.jpg

do-configure:
    @(cd ${WRKDIR}/wv && ./configure)

.include <bsd.port.post.mk>