summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-08 20:13:13 +0000
committerijliao <ijliao@FreeBSD.org>2001-12-08 20:13:13 +0000
commitb60de17c7ceb44b79322b5711e7d7f850e4f54cb (patch)
tree0d34f235bb7a973904e8ba25e97d5afeaab247b3
parentf94ead491e1aa198fff510ff0b9ec236c808a69a (diff)
downloadFreeBSD-ports-b60de17c7ceb44b79322b5711e7d7f850e4f54cb.zip
FreeBSD-ports-b60de17c7ceb44b79322b5711e7d7f850e4f54cb.tar.gz
fix pkg-plist
PR: 32630 Submitted by: Ports Fury
-rw-r--r--x11/xdialog/Makefile14
-rw-r--r--x11/xdialog/pkg-plist1
2 files changed, 10 insertions, 5 deletions
diff --git a/x11/xdialog/Makefile b/x11/xdialog/Makefile
index 9608287..d56cc6c 100644
--- a/x11/xdialog/Makefile
+++ b/x11/xdialog/Makefile
@@ -20,15 +20,19 @@ USE_BZIP2= yes
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 --git a/x11/xdialog/pkg-plist b/x11/xdialog/pkg-plist
index 1c49068..7fbb181 100644
--- a/x11/xdialog/pkg-plist
+++ b/x11/xdialog/pkg-plist
@@ -2,6 +2,7 @@ bin/Xdialog
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
OpenPOWER on IntegriCloud