blob: 2547b45842bc0c95281ca4dc79c627c670ff970b (
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
30
31
32
|
# $NetBSD: Makefile,v 1.4 2013/12/10 12:06:33 jperkin Exp $
#
DISTNAME= cvsclone
PKGNAME= cvsclone-0.00
CATEGORIES= devel scm
MASTER_SITES= http://samba.org/ftp/tridge/rtc/
EXTRACT_SUFX= .l
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://samba.org/ftp/tridge/rtc/
COMMENT= Clone a CVS repository using the :pserver: access method
DIST_SUBDIR= ${PKGNAME_NOREV}
INSTALLATION_DIRS= bin
WRKSRC= ${WRKDIR}
USE_TOOLS+= lex
LDFLAGS.SunOS+= -lsocket -lnsl
do-build:
cd ${WRKSRC} && \
${LEX} cvsclone.l && \
${CC} ${CFLAGS} lex.yy.c ${LDFLAGS} -o cvsclone
cd ${WRKSRC} && ${HEAD} -88 cvsclone.l > README.txt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cvsclone ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cvsclone
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/cvsclone
.include "../../mk/bsd.pkg.mk"
|