ports/73676: [ maintainer ] deskutils/hot-babe: gtk-config/gdk-pixbuf-config fix, install manpage

Roman Bogorodskiy bogorodskiy at inbox.ru
Mon Nov 8 18:40:26 UTC 2004


>Number:         73676
>Category:       ports
>Synopsis:       [ maintainer ] deskutils/hot-babe: gtk-config/gdk-pixbuf-config fix, install manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 08 18:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Bogorodskiy
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Nov 7 19:06:32 MSK 2004 root at lame.novel.ru:/usr/obj/usr/src/sys/MIRRORBOX i386


>Description:
	- replace gtk-config with ${GTK_CONFIG} and gdk-pixbuf-config 
	  with ${GDK_PIXBUF_CONFIG}
	- install the manpage

	Requesed by Jean-Baptiste Quenot.
>How-To-Repeat:
>Fix:

--- port.hot-babe.update begins here ---
diff -ru hot-babe.orig/Makefile hot-babe/Makefile
--- hot-babe.orig/Makefile	Mon Nov  8 21:07:53 2004
+++ hot-babe/Makefile	Mon Nov  8 21:18:46 2004
@@ -17,11 +17,21 @@
 USE_X_PREFIX=	yes
 MAKE_ARGS+=	PREFIX="${PREFIX}" CC="${CC}"
 USE_GNOME=	gdkpixbuf
+USE_REINPLACE=	yes
+
+MAN1=	hot-babe.1
 
 pre-everything::
 	@${ECHO_MSG}
 	@${ECHO_MSG} "Warning! This port contains some adults only content."
 	@${ECHO_MSG} "You might hit Ctrl-C to abort."
 	@${ECHO_MSG}
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|g;s|gdk-pixbuf-config|${GDK_PIXBUF_CONFIG}|g' \
+		${WRKSRC}/Makefile
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/hot-babe.1 ${PREFIX}/man/man1
 
 .include <bsd.port.mk>
--- port.hot-babe.update ends here ---


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



More information about the freebsd-ports-bugs mailing list