aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-01-04 03:11:29 +0800
committerijliao <ijliao@FreeBSD.org>2003-01-04 03:11:29 +0800
commit1f82c844d30fc6f542c3b8dccb52459d01aa8ba8 (patch)
treef3f4f2fe7a9b01d1017e9b7f2deeb5290a1ee857 /www
parent28f34d8a1a93887b0d75b0eab92eec40d57c2395 (diff)
downloadfreebsd-ports-gnome-1f82c844d30fc6f542c3b8dccb52459d01aa8ba8.tar.gz
freebsd-ports-gnome-1f82c844d30fc6f542c3b8dccb52459d01aa8ba8.tar.zst
freebsd-ports-gnome-1f82c844d30fc6f542c3b8dccb52459d01aa8ba8.zip
upgrade to 2.01
PR: 46428 Submitted by: Ports Fury
Diffstat (limited to 'www')
-rw-r--r--www/cgic/Makefile19
-rw-r--r--www/cgic/distinfo2
-rw-r--r--www/cgic/pkg-plist4
3 files changed, 13 insertions, 12 deletions
diff --git a/www/cgic/Makefile b/www/cgic/Makefile
index a30c239d4f25..b40074dddd3f 100644
--- a/www/cgic/Makefile
+++ b/www/cgic/Makefile
@@ -6,25 +6,28 @@
#
PORTNAME= cgic
-PORTVERSION= 1.07
+PORTVERSION= 2.01
CATEGORIES= www
MASTER_SITES= http://www.boutell.com/cgic/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
-WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}"
MAKEFILE= ${FILESDIR}/Makefile.lib
+PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
INSTALLS_SHLIB= yes
+SHLIB_MAJOR= ${PORTVERSION:R}
+
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/examples/cgic
- ${INSTALL_DATA} ${WRKSRC}/capture.c ${PREFIX}/share/examples/cgic
- ${INSTALL_DATA} ${WRKSRC}/cgictest.c ${PREFIX}/share/examples/cgic
- @${MKDIR} ${PREFIX}/share/doc/cgic
- ${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/cgic
- ${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/cgic
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/capture.c ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/cgictest.c ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/www/cgic/distinfo b/www/cgic/distinfo
index 88626ec4d5b0..6e0cf202aa73 100644
--- a/www/cgic/distinfo
+++ b/www/cgic/distinfo
@@ -1 +1 @@
-MD5 (cgic107.tar.gz) = fd93c66491022c3dd051537e39e8c9b0
+MD5 (cgic201.tar.gz) = 65c18753e1f9270ef3224f95585a34a7
diff --git a/www/cgic/pkg-plist b/www/cgic/pkg-plist
index ecc963e3312c..016495246a15 100644
--- a/www/cgic/pkg-plist
+++ b/www/cgic/pkg-plist
@@ -1,13 +1,11 @@
include/cgic.h
lib/libcgic.a
lib/libcgic.so
-lib/libcgic.so.1
+lib/libcgic.so.%%SHLIB_MAJOR%%
%%PORTDOCS%%share/doc/cgic/cgic.html
-%%PORTDOCS%%share/doc/cgic/cgic.txt
%%PORTDOCS%%share/doc/cgic/license.txt
%%PORTDOCS%%share/doc/cgic/readme.txt
%%PORTDOCS%%share/doc/cgic/support.txt
-%%PORTDOCS%%share/doc/cgic/testform.html
%%PORTDOCS%%share/examples/cgic/capture.c
%%PORTDOCS%%share/examples/cgic/cgictest.c
%%PORTDOCS%%@dirrm share/examples/cgic