aboutsummaryrefslogtreecommitdiff
path: root/devel/ecgi/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-06 17:45:36 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-06 17:45:36 +0000
commit178e04f04480333cf4bf50d638055d9941ad665a (patch)
treec2d6a04653932e981c8311f395787d5a3312dd2f /devel/ecgi/Makefile
parent9b5aa996c27d0e2e489f320d280905921afa86d3 (diff)
downloadports-178e04f04480333cf4bf50d638055d9941ad665a.tar.gz
ports-178e04f04480333cf4bf50d638055d9941ad665a.zip
Notes
Diffstat (limited to 'devel/ecgi/Makefile')
-rw-r--r--devel/ecgi/Makefile27
1 files changed, 15 insertions, 12 deletions
diff --git a/devel/ecgi/Makefile b/devel/ecgi/Makefile
index ae660aa27dce..8df00fb0cfda 100644
--- a/devel/ecgi/Makefile
+++ b/devel/ecgi/Makefile
@@ -5,16 +5,19 @@
# $FreeBSD$
#
-PORTNAME= ecgi
+PORTNAME= ecgi
PORTVERSION= 0.6.2
-CATEGORIES= devel
-MASTER_SITES= http://www.global-owl.com/ecgi/download/
+PORTREVISION= 1
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.debian.org/debian/pool/main/libe/libecgi/
+DISTNAME= lib${PORTNAME}_${PORTVERSION}.orig
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
-USE_GMAKE= yes
-USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_REINPLACE= yes
+USE_GMAKE= yes
INSTALLS_SHLIB= yes
HEADER_FILES= ecgi.h ecgitk.h include/memfile.h
@@ -23,16 +26,16 @@ pre-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' ${WRKSRC}/src/memfile.c
do-install:
- @${INSTALL_DATA} ${WRKSRC}/libecgi.a ${PREFIX}/lib
- @${INSTALL_PROGRAM} ${WRKSRC}/libecgi.so ${PREFIX}/lib
- @${INSTALL_PROGRAM} ${WRKSRC}/html2h/html2h ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/libecgi.a ${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/libecgi.so ${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/html2h/html2h ${PREFIX}/bin
@${MKDIR} ${PREFIX}/include/ecgi
.for file in ${HEADER_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/ecgi
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/ecgi
.endfor
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/ecgi
- @${INSTALL_DATA} ${WRKSRC}/doc/ecgitut.txt ${PREFIX}/share/doc/ecgi
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/ecgitut.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>