diff options
author | Justin M. Seger <jseger@FreeBSD.org> | 1998-06-14 12:38:56 +0000 |
---|---|---|
committer | Justin M. Seger <jseger@FreeBSD.org> | 1998-06-14 12:38:56 +0000 |
commit | 884e75e94d583f6eaff8010dd1b97a8c737c4022 (patch) | |
tree | ade41f4cd8701a1ae5cabfea3e562497fab85c3a /www/cgihtml | |
parent | 7e09fa2850e319739247fb1435e941f261319b7c (diff) | |
download | ports-884e75e94d583f6eaff8010dd1b97a8c737c4022.tar.gz ports-884e75e94d583f6eaff8010dd1b97a8c737c4022.zip |
Notes
Diffstat (limited to 'www/cgihtml')
-rw-r--r-- | www/cgihtml/Makefile | 30 | ||||
-rw-r--r-- | www/cgihtml/distinfo | 1 | ||||
-rw-r--r-- | www/cgihtml/files/Makefile | 55 | ||||
-rw-r--r-- | www/cgihtml/pkg-comment | 1 | ||||
-rw-r--r-- | www/cgihtml/pkg-descr | 4 | ||||
-rw-r--r-- | www/cgihtml/pkg-plist | 19 |
6 files changed, 110 insertions, 0 deletions
diff --git a/www/cgihtml/Makefile b/www/cgihtml/Makefile new file mode 100644 index 000000000000..bcb1cb70d1a8 --- /dev/null +++ b/www/cgihtml/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: cgihtml +# Version required: 1.69 +# Date created: 3 Nov 1997 +# Whom: Ian Vaudrey <i.vaudrey@bigfoot.com> +# +# $Id$ +# + +DISTNAME= cgihtml-1.69 +CATEGORIES= devel www +MASTER_SITES= ftp://ftp.eekim.com/users/eekim/cgihtml/ + +MAINTAINER= i.vaudrey@bigfoot.com + +NO_CONFIGURE= yes + +post-extract: + @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist + @${CP} ${FILESDIR}/Makefile ${WRKSRC} + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/cgihtml/html +.for file in CHANGES CREDITS + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cgihtml +.endfor + ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/cgihtml/html +.endif + +.include <bsd.port.mk> diff --git a/www/cgihtml/distinfo b/www/cgihtml/distinfo new file mode 100644 index 000000000000..447c34b05d77 --- /dev/null +++ b/www/cgihtml/distinfo @@ -0,0 +1 @@ +MD5 (cgihtml-1.69.tar.gz) = 9c6c26aab86bbee9581ccd26b58726bf diff --git a/www/cgihtml/files/Makefile b/www/cgihtml/files/Makefile new file mode 100644 index 000000000000..d5a528d3b9b7 --- /dev/null +++ b/www/cgihtml/files/Makefile @@ -0,0 +1,55 @@ +# Makefile for cgihtml libraries + +CFLAGS= -O #-DUPLOADDIR='"/tmp"' +LIB = cgihtml +SHLIB_VER = 1.0 + +OBJS = string-lib.o cgi-llist.o cgi-lib.o html-lib.o +HDRS = ${OBJS:.o=.h} +SRCS = ${OBJS:.o=.c} +SOBJS = ${OBJS:.o=.so} + +.SUFFIXES: +.SUFFIXES: .o .so .c + +.c.o: + ${CC} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} + @${LD} -O ${.TARGET} -x -r ${.TARGET} + +.c.so: + ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} + @${LD} -O ${.TARGET} -x -r ${.TARGET} + +lib${LIB}.a: ${OBJS} + @${ECHO} building standard ${LIB} library + @rm -f ${.TARGET} + @${AR} cr ${.TARGET} `lorder ${OBJS} | tsort -q` + ${RANLIB} ${.TARGET} + +lib${LIB}.so.${SHLIB_VER}: ${SOBJS} + @${ECHO} building shared ${LIB} library \(version ${SHLIB_VER}\) + @rm -f ${.TARGET} + ${CC} -shared -Wl,-x -o ${.TARGET} `lorder ${SOBJS} | tsort -q` + +all: depend lib${LIB}.a lib${LIB}.so.${SHLIB_VER} + +install: + @mkdir -p ${PREFIX}/lib + @mkdir -p ${PREFIX}/include + ${INSTALL} -c -m 644 lib${LIB}.a ${PREFIX}/lib + ${RANLIB} -t ${PREFIX}/lib/lib${LIB}.a + ${INSTALL} -c -m 644 lib${LIB}.so.${SHLIB_VER} ${PREFIX}/lib + /sbin/ldconfig -m ${PREFIX}/lib +.for file in ${HDRS} + ${INSTALL} -c -m 644 ${file} ${PREFIX}/include +.endfor + +clean: + rm -f *.o *.so lib${LIB}.a lib${LIB}.so.${SHLIB_VER} + +distclean: clean + rm -f .depend + +depend: + mkdep ${CFLAGS} ${SRCS} + diff --git a/www/cgihtml/pkg-comment b/www/cgihtml/pkg-comment new file mode 100644 index 000000000000..80f4f0dd01ea --- /dev/null +++ b/www/cgihtml/pkg-comment @@ -0,0 +1 @@ +Library that simplifies the task of writing CGI programs in C. diff --git a/www/cgihtml/pkg-descr b/www/cgihtml/pkg-descr new file mode 100644 index 000000000000..ca8fee964aa5 --- /dev/null +++ b/www/cgihtml/pkg-descr @@ -0,0 +1,4 @@ +Cgihtml is a C library that simplifies the task of parsing World Wide Web +(WWW) Common Gateway Interface (CGI) input and outputting HyperText Markup +Language (HTML). Tasks which would normally require many lines of C can be +reduced to just a few. diff --git a/www/cgihtml/pkg-plist b/www/cgihtml/pkg-plist new file mode 100644 index 000000000000..944f7a25387f --- /dev/null +++ b/www/cgihtml/pkg-plist @@ -0,0 +1,19 @@ +include/cgi-lib.h +include/cgi-llist.h +include/html-lib.h +include/string-lib.h +lib/libcgihtml.a +lib/libcgihtml.so.1.0 +@exec /sbin/ldconfig -m %B +share/doc/cgihtml/CHANGES +share/doc/cgihtml/CREDITS +share/doc/cgihtml/html/cgihtml-1.html +share/doc/cgihtml/html/cgihtml-2.html +share/doc/cgihtml/html/cgihtml-3.html +share/doc/cgihtml/html/cgihtml-4.html +share/doc/cgihtml/html/cgihtml-5.html +share/doc/cgihtml/html/cgihtml-6.html +share/doc/cgihtml/html/cgihtml-7.html +share/doc/cgihtml/html/cgihtml.html +@dirrm share/doc/cgihtml/html +@dirrm share/doc/cgihtml |