summaryrefslogtreecommitdiff
path: root/lang/librep/Makefile
blob: e54208443bb056c55de63415bf58983656bedd6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.1.1.1 1999/10/29 13:57:56 agc Exp $
#

DISTNAME=	librep-0.7
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.dcs.warwick.ac.uk/people/John.Harper/librep/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.dcs.warwick.ac.uk/~john/sw/librep.html

ONLY_FOR_PLATFORM=	SunOS-*-*	# only for Solaris, at the moment

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LIBTOOL=	yes

#INFO_FILES=	librep.info

PLIST_SRC=	${WRKDIR}/PLIST-src

post-install:
	case ${OPSYS} in						\
	NetBSD)	platform=""; os="netbsd1" ;;				\
	SunOS)	platform="sun"; os="solaris2" ;;			\
	esac;								\
	${SED} -e 's|@PLATFORM@|'$$platform'|g' -e 's|@OS@|'$$os'|g'	\
			${PKGDIR}/PLIST > ${PLIST_SRC}

.include "../../mk/bsd.pkg.mk"