aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-02 22:56:03 +0800
committermiwi <miwi@FreeBSD.org>2014-02-02 22:56:03 +0800
commitc7cffbb21f252ff22f0249f62eaecd909f3569c9 (patch)
treeaf3333475a1538004c9bac706fb583e5719d38a4 /x11-toolkits
parent5c774e366b199d53acce506910a22313eebe8cbc (diff)
downloadfreebsd-ports-gnome-c7cffbb21f252ff22f0249f62eaecd909f3569c9.tar.gz
freebsd-ports-gnome-c7cffbb21f252ff22f0249f62eaecd909f3569c9.tar.zst
freebsd-ports-gnome-c7cffbb21f252ff22f0249f62eaecd909f3569c9.zip
- Stage support
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk12/Makefile11
-rw-r--r--x11-toolkits/gtk12/pkg-plist1
2 files changed, 5 insertions, 7 deletions
diff --git a/x11-toolkits/gtk12/Makefile b/x11-toolkits/gtk12/Makefile
index ec97709f0b5e..51e1d383a086 100644
--- a/x11-toolkits/gtk12/Makefile
+++ b/x11-toolkits/gtk12/Makefile
@@ -27,9 +27,6 @@ CONFIGURE_ENV= X_CFLAGS="-I${LOCALBASE}/include" \
CPPFLAGS+= -I${LOCALBASE}/include
INFO= gdk gtk
-MAN1= gtk-config.1
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -44,11 +41,11 @@ pre-build:
${RM} -rf ${WRKSRC}/docs/gtk.info*
post-install:
- @${MKDIR} ${PREFIX}/lib/gtk/themes/engines
- @${LN} -sf ${PREFIX}/bin/gtk-config ${PREFIX}/bin/gtk12-config
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk/themes/engines
+ @${LN} -sf ${PREFIX}/bin/gtk-config ${STAGEDIR}${PREFIX}/bin/gtk12-config
.for lib in gdk gtk
- @${RM} ${PREFIX}/lib/lib${lib}.la ${PREFIX}/lib/lib${lib}.so
- @${MV} ${PREFIX}/lib/lib${lib}.a ${PREFIX}/lib/lib${lib}-12.a
+ @${RM} ${STAGEDIR}${PREFIX}/lib/lib${lib}.la ${STAGEDIR}${PREFIX}/lib/lib${lib}.so
+ @${MV} ${STAGEDIR}${PREFIX}/lib/lib${lib}.a ${STAGEDIR}${PREFIX}/lib/lib${lib}-12.a
.endfor
.include <bsd.port.mk>
diff --git a/x11-toolkits/gtk12/pkg-plist b/x11-toolkits/gtk12/pkg-plist
index 85bb6e41b339..4d5cf3d90327 100644
--- a/x11-toolkits/gtk12/pkg-plist
+++ b/x11-toolkits/gtk12/pkg-plist
@@ -219,6 +219,7 @@ share/themes/Default/gtk/gtkrc.vi_VN.viscii111
share/themes/Default/gtk/gtkrc.yi
share/themes/Default/gtk/gtkrc.zh_CN
share/themes/Default/gtk/gtkrc.zh_TW.Big5
+man/man1/gtk-config.1.gz
@exec mkdir -p %D/lib/gtk/themes/engines
%%NLS%%@dirrmtry share/locale/sp/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/sp