aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-10-28 06:08:57 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-10-28 06:08:57 +0000
commit64ab438ca54edd8a87b365c85ef55c288fe0eefe (patch)
tree5df554845ce0a489f9b2a4f7b03636682c07cbac
parent18c3a50631fe19d338bdca1944e0946f42942983 (diff)
downloadports-64ab438ca54edd8a87b365c85ef55c288fe0eefe.tar.gz
ports-64ab438ca54edd8a87b365c85ef55c288fe0eefe.zip
- use STAGEDIR
Notes
Notes: svn path=/head/; revision=331830
-rw-r--r--x11-wm/afterstep/Makefile29
1 files changed, 14 insertions, 15 deletions
diff --git a/x11-wm/afterstep/Makefile b/x11-wm/afterstep/Makefile
index e8749c0abc65..a673cf5552b6 100644
--- a/x11-wm/afterstep/Makefile
+++ b/x11-wm/afterstep/Makefile
@@ -18,15 +18,14 @@ RUN_DEPENDS= asclock:${PORTSDIR}/x11-clocks/asclock
CONFLICTS?= afterstep-2*
PORTSCOUT= limit:^1\.[0-9.]*$$
NO_LATEST_LINK= yes
-NO_STAGE= yes
+USES= imake manpages
USE_XORG= xpm xext x11
-USES= imake
+USE_CSTD= gnu89
INSTALL_TARGET= install install.man
MANCOMPRESSED= yes
-MAN1= afterstep.1 Animate.1 Audio.1 Auto.1 Banner.1 Pager.1 Wharf.1
CFLAGS+= -Wno-return-type
-USE_CSTD= gnu89
+MAN1= afterstep.1 Animate.1 Audio.1 Auto.1 Banner.1 Pager.1 Wharf.1
SRCDIRS= afterstep \
modules/Animate modules/Audio modules/Auto \
@@ -48,14 +47,14 @@ pre-build:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${SH} MakeMakefiles
post-install:
- @ ${MKDIR} ${PREFIX}/lib/X11/afterstep/backgrounds/
- ${INSTALL_DATA} ${WRKSRC}/backgrounds/* ${PREFIX}/lib/X11/afterstep/backgrounds/
- @ ${MKDIR} ${PREFIX}/lib/X11/afterstep/sounds/
- ${INSTALL_DATA} ${WRKSRC}/sounds/* ${PREFIX}/lib/X11/afterstep/sounds/
- @ ${MKDIR} ${PREFIX}/include/X11/pixmaps/
+ @ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/afterstep/backgrounds/
+ ${INSTALL_DATA} ${WRKSRC}/backgrounds/* ${STAGEDIR}${PREFIX}/lib/X11/afterstep/backgrounds/
+ @ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/afterstep/sounds/
+ ${INSTALL_DATA} ${WRKSRC}/sounds/* ${STAGEDIR}${PREFIX}/lib/X11/afterstep/sounds/
+ @ ${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/pixmaps/
.if defined(WITH_HICOLOR_ICONS)
- ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/include/X11/pixmaps/
- ${INSTALL_DATA} ${FILESDIR}/monitor_bsd.xpm ${PREFIX}/include/X11/pixmaps/
+ ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps/
+ ${INSTALL_DATA} ${FILESDIR}/monitor_bsd.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps/
.else
.if !defined(BATCH)
@${ECHO_MSG} "===> Note: to use the hi-color icons,"
@@ -65,12 +64,12 @@ post-install:
@for i in AFstep.xpm penguin.xpm monitor_bsd.xpm; do \
${CP} ${FILESDIR}/$$i ${WRKSRC}/icons/8bit/; \
done
- ${INSTALL_DATA} ${WRKSRC}/icons/8bit/*.xpm ${PREFIX}/include/X11/pixmaps/
- ${INSTALL_DATA} ${WRKSRC}/icons/eyecon.xpm ${PREFIX}/include/X11/pixmaps/
+ ${INSTALL_DATA} ${WRKSRC}/icons/8bit/*.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps/
+ ${INSTALL_DATA} ${WRKSRC}/icons/eyecon.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps/
.endif
- @ ${MKDIR} ${PREFIX}/lib/X11/afterstep/doc/
+ @ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/afterstep/doc/
@for i in CHANGES CREDITS README README.8bit INSTALL FAQ module-interface.txt; do \
- ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/lib/X11/afterstep/doc/; \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${STAGEDIR}${PREFIX}/lib/X11/afterstep/doc/; \
done
.include <bsd.port.mk>