613102dea7
Add comment with license type.
64 lines
1.6 KiB
Makefile
64 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.5 2001/04/14 11:36:17 naddy Exp $
|
|
|
|
COMMENT= "network file distribution system, optimized for CVS"
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
VER= 16.1
|
|
DISTNAME= cvsup-bin-${VER}
|
|
CATEGORIES= net devel
|
|
NEED_VERSION= 1.363
|
|
HOMEPAGE= http://www.polstra.com/projects/freeware/CVSup/
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/binaries/ \
|
|
ftp://ftp.cs.tu-berlin.de/pub/FreeBSD/development/CVSup/binaries
|
|
MASTER_SITES0= ftp://sites.inka.de/W3775/unix/distfiles/
|
|
|
|
DISTFILES= cvsup${GUI}-freebsd-ix86-aout-${VER}.tar.gz \
|
|
cvsup-examples-1.0.tar.gz:0
|
|
|
|
SUPDISTFILES= cvsup-freebsd-ix86-aout-${VER}.tar.gz \
|
|
cvsup.nogui-freebsd-ix86-aout-${VER}.tar.gz \
|
|
cvsup-examples-1.0.tar.gz:0
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
GUI=.nogui
|
|
.else
|
|
GUI=
|
|
.endif
|
|
|
|
MANCOMPRESSED= Yes
|
|
MAN1= cvpasswd.1 cvsup.1
|
|
|
|
WRKSRC= ${WRKDIR}/cvsup${GUI}-bin-${VER}
|
|
INSTALL_STRIP=
|
|
|
|
.if !defined(NO_WARNINGS)
|
|
pre-fetch:
|
|
@sh ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
|
.endif
|
|
|
|
NO_BUILD= Yes
|
|
|
|
do-configure:
|
|
sed 's,@PREFIX@,${PREFIX},' ${FILESDIR}/cvsup.sh >${WRKSRC}/cvsup.sh
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cvpasswd ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cvsup.sh ${PREFIX}/bin/cvsup
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cvsup ${PREFIX}/libexec
|
|
${INSTALL_MAN} ${WRKSRC}/cvpasswd.1.gz ${PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/cvsup.1.gz ${PREFIX}/man/man1
|
|
cd ${WRKDIR}/cvsup-examples-1.0 && ${MAKE} install
|
|
|
|
.include <bsd.port.mk>
|