Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2001 11:15:57 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/32630: Update port: x11/xdialog
Message-ID:  <200112081915.fB8JFvT00176@freefall.freebsd.org>

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

>Number:         32630
>Category:       ports
>Synopsis:       Update port: x11/xdialog
>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:   Sat Dec 08 11:20:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix pkg-plist

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/x11/xdialog/Makefile x11/xdialog/Makefile
--- /usr/ports/x11/xdialog/Makefile	Fri Jul 13 20:43:38 2001
+++ x11/xdialog/Makefile	Sat Dec  8 17:19:14 2001
@@ -20,15 +20,19 @@
 USE_GTK=	yes
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
 
 MAN1=	Xdialog.1
 
-.if !defined(NOPORTDOCS)
+post-patch:
+	@${PERL} -pi -e 's|-L../lib -lgetopt||g' ${WRKSRC}/src/Makefile.in
+
 post-install:
-	${MKDIR} ${DATADIR}
-	@(cd ${WRKSRC}/doc ; \
-	  ${CP} *.html *.png ${DATADIR})
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DATADIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/x11/xdialog/pkg-plist x11/xdialog/pkg-plist
--- /usr/ports/x11/xdialog/pkg-plist	Fri Jul  6 21:58:33 2001
+++ x11/xdialog/pkg-plist	Sat Dec  8 13:39:32 2001
@@ -2,6 +2,7 @@
 share/locale/de/LC_MESSAGES/Xdialog.mo
 share/locale/es/LC_MESSAGES/Xdialog.mo
 share/locale/fr/LC_MESSAGES/Xdialog.mo
+share/locale/hu/LC_MESSAGES/Xdialog.mo
 share/locale/ru/LC_MESSAGES/Xdialog.mo
 %%PORTDOCS%%share/xdialog/2ranges.png
 %%PORTDOCS%%share/xdialog/authors.html

>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?200112081915.fB8JFvT00176>