Convert to elf, And fix the path of MASTER_SITE.
This commit is contained in:
parent
b0f531ef90
commit
681c474c76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13712
3 changed files with 14 additions and 8 deletions
|
@ -3,12 +3,12 @@
|
||||||
# Date created: 3 Nov 1997
|
# Date created: 3 Nov 1997
|
||||||
# Whom: Ian Vaudrey <i.vaudrey@bigfoot.com>
|
# Whom: Ian Vaudrey <i.vaudrey@bigfoot.com>
|
||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.1.1.1 1998/06/14 12:38:55 jseger Exp $
|
# $Id: Makefile,v 1.2 1998/06/27 05:19:48 asami Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= cgihtml-1.69
|
DISTNAME= cgihtml-1.69
|
||||||
CATEGORIES= devel www
|
CATEGORIES= devel www
|
||||||
MASTER_SITES= ftp://ftp.eekim.com/users/eekim/cgihtml/
|
MASTER_SITES= ftp://ftp.eekim.com/pub/users/eekim/cgihtml/
|
||||||
|
|
||||||
MAINTAINER= i.vaudrey@bigfoot.com
|
MAINTAINER= i.vaudrey@bigfoot.com
|
||||||
|
|
||||||
|
@ -24,5 +24,6 @@ post-install:
|
||||||
.endfor
|
.endfor
|
||||||
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/cgihtml/html
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/cgihtml/html
|
||||||
.endif
|
.endif
|
||||||
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
# Makefile for cgihtml libraries
|
# Makefile for cgihtml libraries
|
||||||
|
|
||||||
CFLAGS= -O #-DUPLOADDIR='"/tmp"'
|
|
||||||
LIB = cgihtml
|
LIB = cgihtml
|
||||||
SHLIB_VER = 1.0
|
MAJ = 1
|
||||||
|
MIN = 0
|
||||||
|
.if ($(PORTOBJFORMAT) == "elf")
|
||||||
|
SHLIB_VER = $(MAJ)
|
||||||
|
.else
|
||||||
|
SHLIB_VER = $(MAJ).$(MIN)
|
||||||
|
.endif
|
||||||
|
|
||||||
OBJS = string-lib.o cgi-llist.o cgi-lib.o html-lib.o
|
OBJS = string-lib.o cgi-llist.o cgi-lib.o html-lib.o
|
||||||
HDRS = ${OBJS:.o=.h}
|
HDRS = ${OBJS:.o=.h}
|
||||||
|
@ -37,9 +42,8 @@ install:
|
||||||
@mkdir -p ${PREFIX}/lib
|
@mkdir -p ${PREFIX}/lib
|
||||||
@mkdir -p ${PREFIX}/include
|
@mkdir -p ${PREFIX}/include
|
||||||
${INSTALL} -c -m 644 lib${LIB}.a ${PREFIX}/lib
|
${INSTALL} -c -m 644 lib${LIB}.a ${PREFIX}/lib
|
||||||
${RANLIB} -t ${PREFIX}/lib/lib${LIB}.a
|
# ${RANLIB} -t ${PREFIX}/lib/lib${LIB}.a
|
||||||
${INSTALL} -c -m 644 lib${LIB}.so.${SHLIB_VER} ${PREFIX}/lib
|
${INSTALL} -c -m 644 lib${LIB}.so.${SHLIB_VER} ${PREFIX}/lib
|
||||||
/sbin/ldconfig -m ${PREFIX}/lib
|
|
||||||
.for file in ${HDRS}
|
.for file in ${HDRS}
|
||||||
${INSTALL} -c -m 644 ${file} ${PREFIX}/include
|
${INSTALL} -c -m 644 ${file} ${PREFIX}/include
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -3,8 +3,9 @@ include/cgi-llist.h
|
||||||
include/html-lib.h
|
include/html-lib.h
|
||||||
include/string-lib.h
|
include/string-lib.h
|
||||||
lib/libcgihtml.a
|
lib/libcgihtml.a
|
||||||
lib/libcgihtml.so.1.0
|
lib/libcgihtml.so.1
|
||||||
@exec /sbin/ldconfig -m %B
|
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
|
||||||
|
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
|
||||||
share/doc/cgihtml/CHANGES
|
share/doc/cgihtml/CHANGES
|
||||||
share/doc/cgihtml/CREDITS
|
share/doc/cgihtml/CREDITS
|
||||||
share/doc/cgihtml/html/cgihtml-1.html
|
share/doc/cgihtml/html/cgihtml-1.html
|
||||||
|
|
Loading…
Reference in a new issue