pkgsrc/time/asclock-gtk/Makefile
jlam a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2001/10/24 22:11:07 jlam Exp $
#
DISTNAME= asclock-gtk-2.1.10beta
PKGNAME= asclock-gtk-2.1.10
WRKSRC= ${WRKDIR}/asclock-gtk
CATEGORIES= x11 time
MASTER_SITES= ${MASTER_SITE_LOCAL} # www.asclock.org is no more
MAINTAINER= jlam@netbsd.org
COMMENT= dockable clock and calendar with themes for GTK+
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
USE_BUILDLINK_ONLY= # defined
USE_CONFIG_WRAPPER= # defined
USE_X11BASE= # defined
PLIST_SRC= ${PKGDIR}/PLIST \
${PKGDIR}/PLIST.themes
ALL_TARGET= asclock
MAKE_ENV+= CONFIG_PATH="${BUILDLINK_DIR}/bin/" # for gtk-config
pre-configure:
cd ${WRKSRC}; ${LN} -sf themes/classic default_theme
pre-install:
${RM} -f ${WRKSRC}/themes/Freeamp/Makefile*
${RM} -rf ${WRKSRC}/themes/themes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/asclock ${PREFIX}/bin/asclock-gtk
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asclock-gtk
${INSTALL_DATA} ${WRKSRC}/README.THEMES ${PREFIX}/share/doc/asclock-gtk
${INSTALL_DATA_DIR} ${PREFIX}/share/asclock-gtk
${CP} -R ${WRKSRC}/themes/* ${PREFIX}/share/asclock-gtk
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/asclock-gtk
.include "../../x11/gtk/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"