aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-06 16:46:49 +0800
committerbapt <bapt@FreeBSD.org>2014-01-06 16:46:49 +0800
commitfd811ae80ee579c00bacd3534b70f11cf5457b8c (patch)
tree1e34b7f05bae48c0e74b7811fca26f2421063e2b /x11
parent540c950b571161bb0029551fcd5784d08f1ff038 (diff)
downloadfreebsd-ports-gnome-fd811ae80ee579c00bacd3534b70f11cf5457b8c.tar.gz
freebsd-ports-gnome-fd811ae80ee579c00bacd3534b70f11cf5457b8c.tar.zst
freebsd-ports-gnome-fd811ae80ee579c00bacd3534b70f11cf5457b8c.zip
Support stage
Diffstat (limited to 'x11')
-rw-r--r--x11/bricons/Makefile22
-rw-r--r--x11/bricons/pkg-plist1
2 files changed, 7 insertions, 16 deletions
diff --git a/x11/bricons/Makefile b/x11/bricons/Makefile
index 85b001b4de66..ad6e36cedb3f 100644
--- a/x11/bricons/Makefile
+++ b/x11/bricons/Makefile
@@ -18,11 +18,6 @@ USES= imake perl5
USE_PERL5= build
USE_XORG= xaw
-MAN1= bricons.1
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Xbricons
@@ -30,15 +25,10 @@ post-patch:
's|^unsigned int argc|int argc|' ${WRKSRC}/main.c
post-install:
- ${INSTALL_DATA} ${WRKSRC}/Xbricons ${PREFIX}/lib/X11/app-defaults
- ${MKDIR} ${PREFIX}/include/X11/bitmaps
- ${INSTALL_DATA} ${WRKSRC}/bitmaps/* ${PREFIX}/include/X11/bitmaps
- ${MKDIR} ${PREFIX}/include/X11/pixmaps
- ${INSTALL_DATA} ${WRKSRC}/*.xpm ${PREFIX}/include/X11/pixmaps
- @${ECHO_MSG} ""
- @${ECHO_MSG} " Use ./files/DOTbriconsrc as an example. This file"
- @${ECHO_MSG} " should be stored in the same directory as the"
- @${ECHO_MSG} " program is executed from."
- @${ECHO_MSG} ""
+ ${INSTALL_DATA} ${WRKSRC}/Xbricons ${STAGEDIR}${PREFIX}/lib/X11/app-defaults
+ @${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/bitmaps
+ ${INSTALL_DATA} ${WRKSRC}/bitmaps/* ${STAGEDIR}${PREFIX}/include/X11/bitmaps
+ @${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/*.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11/bricons/pkg-plist b/x11/bricons/pkg-plist
index a45768d1bc73..71e23ae72526 100644
--- a/x11/bricons/pkg-plist
+++ b/x11/bricons/pkg-plist
@@ -8,5 +8,6 @@ include/X11/pixmaps/clock.xpm
include/X11/pixmaps/editor.xpm
include/X11/pixmaps/mail.xpm
include/X11/pixmaps/news.xpm
+man/man1/bricons.1.gz
@dirrmtry include/X11/bitmaps
@dirrmtry include/X11/pixmaps