2004-05-04 17:49:15 +00:00
|
|
|
# New ports collection makefile for: winhelpcgi
|
|
|
|
# Date created: 3 May 2004
|
|
|
|
# Whom: Robin Schoonover (endx7@users.sf.net)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= winhelpcgi
|
2005-02-08 18:54:17 +00:00
|
|
|
PORTVERSION= 1.0r3
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 1
|
2004-05-04 17:49:15 +00:00
|
|
|
CATEGORIES= www textproc
|
|
|
|
MASTER_SITES= http://www.herdsoft.com/ftp/
|
2005-02-08 18:54:17 +00:00
|
|
|
DISTNAME= ${PORTNAME}_1.0rc3-1
|
2004-05-04 17:49:15 +00:00
|
|
|
|
2005-07-21 00:57:50 +00:00
|
|
|
MAINTAINER= robin.schoonover@gmail.com
|
2004-05-04 17:49:15 +00:00
|
|
|
COMMENT= A winhelp converter cgi program
|
|
|
|
|
2004-06-16 22:35:34 +00:00
|
|
|
LIB_DEPENDS= wmf.2:${PORTSDIR}/graphics/libwmf
|
2004-05-04 17:49:15 +00:00
|
|
|
|
2005-02-08 18:54:17 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-1.0rc3
|
2004-05-04 17:49:15 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= automake:14
|
2004-06-16 22:35:34 +00:00
|
|
|
USE_GETTEXT= yes
|
2005-02-08 18:54:17 +00:00
|
|
|
USE_APACHE= yes
|
2004-05-04 17:49:15 +00:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@${CAT} ${PKGDIR}/pkg-message | ${SED} -e 's:%%PREFIX%%:${PREFIX}:' > ${PKGMESSAGE}
|
|
|
|
|
|
|
|
do-install:
|
2004-06-16 22:35:34 +00:00
|
|
|
${MKDIR} ${PREFIX}/www/winhelpcgi
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/winhelpcgi/winhelpcgi.cgi ${PREFIX}/www/winhelpcgi
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
2004-05-04 17:49:15 +00:00
|
|
|
|
2004-06-16 22:35:34 +00:00
|
|
|
.include <bsd.port.mk>
|