2007-03-24 20:21:18 +01:00
|
|
|
# $NetBSD: Makefile,v 1.36 2007/03/24 19:21:23 joerg Exp $
|
1997-10-09 16:30:56 +02:00
|
|
|
|
1998-04-20 13:56:17 +02:00
|
|
|
DISTNAME= sam
|
2001-11-29 02:12:24 +01:00
|
|
|
PKGNAME= sam-4.3
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 3
|
2001-11-18 20:17:05 +01:00
|
|
|
CATEGORIES= editors plan9
|
1998-04-20 13:56:17 +02:00
|
|
|
MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/matty/
|
|
|
|
EXTRACT_SUFX= .msg.gz
|
1997-10-09 16:30:56 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Unix version of Rob Pike's editor for plan9
|
1997-10-09 16:30:56 +02:00
|
|
|
|
2006-02-22 12:36:37 +01:00
|
|
|
DEPENDS+= libXgFonts>=1.0nb1:../../fonts/Xg
|
2001-05-01 11:16:24 +02:00
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
1999-04-01 16:07:52 +02:00
|
|
|
EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
|
1997-10-09 16:30:56 +02:00
|
|
|
|
1999-08-24 21:01:43 +02:00
|
|
|
MANCOMPRESSED= yes
|
2001-04-30 22:13:55 +02:00
|
|
|
USE_X11BASE= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= X11PREFIX=${X11PREFIX:Q}
|
1999-08-24 21:01:43 +02:00
|
|
|
|
2007-03-24 20:21:18 +01:00
|
|
|
INSTALLATION_DIRS= bin include lib/X11/app-defaults \
|
|
|
|
${PKGMANDIR}/man1 ${PKGMANDIR}/man3 ${PKGMANDIR}/man4 ${PKGMANDIR}/man6
|
|
|
|
|
1999-07-02 10:37:20 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
1999-08-24 21:01:43 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2000-05-15 14:15:17 +02:00
|
|
|
|
1999-08-24 21:01:43 +02:00
|
|
|
.if ${X11BASE} != "/usr/openwin"
|
|
|
|
OTHER_X_LIBS= -lSM -lICE
|
|
|
|
.endif
|
2000-05-15 14:15:17 +02:00
|
|
|
|
1999-08-24 21:01:43 +02:00
|
|
|
do-build:
|
|
|
|
for d in libXg libframe sam samterm; do \
|
2002-08-25 20:38:05 +02:00
|
|
|
(cd ${WRKSRC}/$$d; ${MAKE_PROGRAM} -f Make.solaris \
|
1999-08-24 21:01:43 +02:00
|
|
|
OTHER_X_LIBS="${OTHER_X_LIBS}"); \
|
|
|
|
done
|
2000-05-15 14:15:17 +02:00
|
|
|
.endif # SunOS
|
1999-02-04 19:54:35 +01:00
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|