Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 23:04:42 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/44489: Update port: x11/peeper
Message-ID:  <200210260604.g9Q64gBj094901@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         44489
>Category:       ports
>Synopsis:       Update port: x11/peeper
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 25 23:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.7-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS properly
- Add documentation

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/x11/peeper/Makefile x11/peeper/Makefile
--- /usr/ports/x11/peeper/Makefile	Fri Aug  9 18:17:29 2002
+++ x11/peeper/Makefile	Sat Oct 26 05:54:31 2002
@@ -8,24 +8,24 @@
 
 PORTNAME=	peeper
 PORTVERSION=	0.1
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://peeper.sourceforge.net/
 
 MAINTAINER=	ports@FreeBSD.org
 
-USE_REINPLACE=	yes
 USE_GNOMENG=	yes
-USE_GNOME=	gtk12 imlib
+USE_GNOME=	imlib
 USE_GMAKE=	yes
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} `${IMLIB_CONFIG} --cflags-gdk`" \
+		LIBS="`${IMLIB_CONFIG} --libs-gdk`"
 ALL_TARGET=	peeper
-MAKE_ENV=	LIBS="-L${LOCALBASE}/lib -lpng -ljpeg -lungif -ltiff"
-
-post-patch:
-	@${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|CFLAGS=|CFLAGS+=|g" \
-		-e "s|gtk-config|${GTK_CONFIG}|g" -e "s|-ldl||g" \
-		-e "s|LIBS=|LIBS+=|g" ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/peeper ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/x11/peeper/pkg-plist x11/peeper/pkg-plist
--- /usr/ports/x11/peeper/pkg-plist	Fri Aug  9 18:17:29 2002
+++ x11/peeper/pkg-plist	Sat Oct 26 05:53:21 2002
@@ -1 +1,3 @@
 bin/peeper
+%%PORTDOCS%%share/doc/peeper/README
+%%PORTDOCS%%@dirrm share/doc/peeper

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210260604.g9Q64gBj094901>