summaryrefslogtreecommitdiff
path: root/time/wmcalclock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'time/wmcalclock/Makefile')
-rw-r--r--time/wmcalclock/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/time/wmcalclock/Makefile b/time/wmcalclock/Makefile
index 3dbcebdebe6..6969f7e100c 100644
--- a/time/wmcalclock/Makefile
+++ b/time/wmcalclock/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/02/17 17:32:11 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/11/15 07:58:50 jlam Exp $
#
DISTNAME= wmCalClock-1.25
@@ -9,14 +9,22 @@ MAINTAINER= wiz@netbsd.org
HOMEPAGE= http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
COMMENT= another WindowMaker calendar/clock dockapp
-USE_X11BASE= YES
-USE_XPM= YES
-USE_GMAKE= YES
+USE_BUILDLINK_ONLY= YES
+USE_X11BASE= YES
+USE_GMAKE= YES
-WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= EXTRALIBS="-lsocket -lnsl"
+.endif
do-install:
${INSTALL_MAN} ${WRKSRC}/wmCalClock.1 ${PREFIX}/man/man1/
${INSTALL_PROGRAM} ${WRKSRC}/wmCalClock ${PREFIX}/bin/
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"