summaryrefslogtreecommitdiff
path: root/time/wmcalclock/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-15 07:58:50 +0000
committerjlam <jlam@pkgsrc.org>2001-11-15 07:58:50 +0000
commitdf45083180d4f06ecfefd12813b6af3502cbff27 (patch)
tree5d590a8a920f05feb2d5b8a23bc137857b24b74c /time/wmcalclock/Makefile
parent1706cb5016a2cf050d664287911ea2b3061badae (diff)
downloadpkgsrc-df45083180d4f06ecfefd12813b6af3502cbff27.tar.gz
Strongly buildlinkify, and make this package work on Solaris by following
the suggestions in the Makefile.
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"