aboutsummaryrefslogtreecommitdiff
path: root/www/winhelpcgi/Makefile
blob: d16b5c6b3576f46fcaf50dd28afdc87975188d06 (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
# New ports collection makefile for:   winhelpcgi
# Date created:        3 May 2004
# Whom:                Robin Schoonover (endx7@users.sf.net)
#
# $FreeBSD$
#

PORTNAME=	winhelpcgi
PORTVERSION=	0.93.1
CATEGORIES=	www textproc
MASTER_SITES=	http://www.herdsoft.com/ftp/
DISTNAME=	${PORTNAME}_0.93-1

MAINTAINER=	endx7@users.sf.net
COMMENT=	A winhelp converter cgi program

LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png

WRKSRC=		${WRKDIR}/${PORTNAME}
GNU_CONFIGURE=	yes
USE_AUTOMAKE_VER=	14
AUTOMAKE_ARGS=	--add-missing
PKGMESSAGE=	${WRKDIR}/pkg-message

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=		"Does not compile on amd64"
.endif

# get rid of symlinks
pre-patch:
	(cd ${WRKSRC}; ${RM} INSTALL install-sh mkinstalldirs missing COPYING)

post-build:
	@${CAT} ${PKGDIR}/pkg-message | ${SED} -e 's:%%PREFIX%%:${PREFIX}:' > ${PKGMESSAGE}

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/winhelpcgi/winhelpcgi/winhelpcgi.cgi ${PREFIX}/bin

.include <bsd.port.post.mk>