diff options
-rw-r--r-- | x11-clocks/asclock-gtk/Makefile | 4 | ||||
-rw-r--r-- | x11-clocks/asclock-xlib/Makefile | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/x11-clocks/asclock-gtk/Makefile b/x11-clocks/asclock-gtk/Makefile index 9f6b4ae1a050..85c6c4bcd74d 100644 --- a/x11-clocks/asclock-gtk/Makefile +++ b/x11-clocks/asclock-gtk/Makefile @@ -13,12 +13,12 @@ COMMENT= New flavor of asclock (GTK version) WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= asclock +MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} USE_XORG= x11 xt USE_GNOME= gtk12 HAS_CONFIGURE= yes -NO_STAGE= yes post-patch: ${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} @@ -30,6 +30,6 @@ do-configure: .endif post-install: - @${STRIP_CMD} ${PREFIX}/bin/asclock + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asclock .include <bsd.port.mk> diff --git a/x11-clocks/asclock-xlib/Makefile b/x11-clocks/asclock-xlib/Makefile index 2295e3e39397..db99d6b83c82 100644 --- a/x11-clocks/asclock-xlib/Makefile +++ b/x11-clocks/asclock-xlib/Makefile @@ -21,7 +21,6 @@ IS_INTERACTIVE= YES HAS_CONFIGURE= YES .endif -NO_STAGE= yes .include <bsd.port.pre.mk> post-patch: @@ -39,9 +38,8 @@ pre-configure: post-install: .for i in Freeamp Newstone Orb Stone beats classic penguin shaped (cd ${WRKSRC}/themes/${i}; \ - ${MKDIR} ${PREFIX}/share/asclock/${i}; \ - ${INSTALL_DATA} *.xpm config ${PREFIX}/share/asclock/${i}/ ) + ${MKDIR} ${STAGEDIR}${PREFIX}/share/asclock/${i}; \ + ${INSTALL_DATA} *.xpm config ${STAGEDIR}${PREFIX}/share/asclock/${i}/ ) .endfor - cd ${WRKSRC} && ${MAKE} install.man .include <bsd.port.post.mk> |