1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

upgrade to 0.9.3

drop maintainership
This commit is contained in:
Ying-Chieh Liao 2002-06-10 04:25:02 +00:00
parent f735aeda02
commit 305e795cae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61024
4 changed files with 20 additions and 25 deletions

View File

@ -7,11 +7,11 @@
#
PORTNAME= gman
PORTVERSION= 0.9.2
PORTVERSION= 0.9.3
CATEGORIES= misc
MASTER_SITES= http://homex.coolconnect.com/user/xkwang/gman/
MAINTAINER= ijliao@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= ghostview:${PORTSDIR}/print/ghostview
@ -20,8 +20,9 @@ USE_GTK= yes
MAN1= gman.1x
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gman ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gman.1x ${MANPREFIX}/man/man1
post-patch:
@${PERL} -pi -e "s,^CXX =,#CXX =,g ; s,^CXXFLAGS =,CXXFLAGS+=,g ; \
s,gtk-config,${GTK_CONFIG},g ; s,= /usr,= ${PREFIX},g ; \
s,/var/www,${LOCALBASE}/www,g" ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (gman-0.9.2.tar.gz) = 7e573cda5d58e3fe4d24d04a295ff0ac
MD5 (gman-0.9.3.tar.gz) = 819582eb2527e36271f82f6562001b43

View File

@ -1,25 +1,17 @@
--- Makefile.orig Sat Mar 31 19:05:24 2001
+++ Makefile Sat Apr 14 04:19:15 2001
@@ -1,18 +1,18 @@
# Gman Makefile
# You can adjust the following variables.
-CXX = g++
-CXXFLAGS = -DVERSION=\"0.9.2\" `gtk-config --cflags` -O2 #-Wall
+CXX ?= g++
+CXXFLAGS += -DVERSION=\"0.9.2\" `${GTK_CONFIG} --cflags gthread` #-Wall
CC = $(CXX) $(CXXFLAGS)
GNOMELIB = #`gnome-config --libs gnomeui`
-prefix = /usr
+prefix = ${PREFIX}
cgi_bin_prefix = /home/httpd/cgi-bin
# There shouldn't be any need to edit anything below this point.
--- Makefile.orig Tue May 21 14:39:34 2002
+++ Makefile Mon Jun 10 12:27:13 2002
@@ -13,7 +13,7 @@
all: gman
gman: menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o
- $(CC) -lgtk -lgdk -lpthread $(GNOMELIB) menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman
+ $(CC) `${GTK_CONFIG} --libs gthread` $(GNOMELIB) menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman
- $(CXX) -lgtk -lgdk -lpthread $(GTKLIB) menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman
+ $(CXX) `${GTK_CONFIG} --libs gthread` $(GTKLIB) menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman
gman.o: gman.c menu.h
$(CC) -c gman.c
@@ -52,4 +52,4 @@
install -s -m 755 gman $(prefix)/bin
install -s -m 755 gman.pl $(prefix)/bin/gman.cgi
install -m 644 gman.1x $(prefix)/man/man1
- install -s -m 755 gman.pl $(ci_bin_prefix)/gman
+ install -s -m 755 gman.pl $(cgi_bin_prefix)/gman

View File

@ -1 +1,3 @@
bin/gman
bin/gman.cgi
www/cgi-bin/gman