summaryrefslogtreecommitdiff
path: root/x11/xdialog
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-08 20:13:13 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-08 20:13:13 +0000
commite5a642481910dbd47c7037757e73b6c328a35448 (patch)
treed31ef2f7f21bda875a2269abccc38307a05133d1 /x11/xdialog
parentipsorc (diff)
fix pkg-plist
PR: 32630 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=51235
Diffstat (limited to 'x11/xdialog')
-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 9608287a4f25..d56cc6cc55b4 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 1c4906815c47..7fbb181ff6b7 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