aboutsummaryrefslogtreecommitdiffstats
path: root/www/swish-e/Makefile
blob: 4a8bc641dd48287f04339d3830873380866fe65d (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
# New ports collection makefile for:    swish-e
# Version required:             1.2.4
# Date created:                 23 Feb 98
# Whom:                         Daniel O'Connor <doconnor@gsoft.com.au>
#
# $Id$
#

DISTNAME=       swish-efiles.1.2.4
PKGNAME=        swish-e-1.2.4
CATEGORIES=     www textproc
MASTER_SITES=   ftp://sunsite.berkeley.edu/pub/swish-e/

MAINTAINER= doconnor@gsoft.com.au

WRKSRC=     ${WRKDIR}/src
USE_GMAKE=  yes

post-patch:

    ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
    ${SED} -e 's#/vol/moby/moby_a/gnu/sun4_sunos5.1/bin/gcc#${CC}#' \
        -e 's#\"-g\"#\"${CFLAGS}\"#g' \
        -e 's#CFLAGS= -O2#CFLAGS = \"${CFLAGS}\"#' \
        ${WRKSRC}/Makefile.pre_sed >> ${WRKSRC}/Makefile

do-install:

    $(INSTALL_PROGRAM) ${WRKSRC}/swish-e ${PREFIX}/bin

.include <bsd.port.mk>