aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/vcp/Makefile
blob: 74990db4ef5fe54bdb7f7f297a27a717b2c64802 (plain) (blame)
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
33
34
35
36
37
38
39
40
# ex:ts=8
# Ports collection makefile for:  vcp
# Date created:                Tue Feb 11, 2003
# Whom:                        Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD$
#

PORTNAME=   vcp
PORTVERSION=    0.8
CATEGORIES= sysutils
MASTER_SITES=   http://members.optusnet.com.au/~dbbryan/vcp/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= mich@freebsdcluster.org
COMMENT=    Copy files in curses interface

LDFLAGS+=   -lncurses

do-build:
    cd ${WRKSRC} && \
    ${CC} ${CFLAGS} -c main.c && \
    ${CC} ${CFLAGS} -c copyall.c && \
    ${CC} ${CFLAGS} -c copy.c && \
    ${CC} ${CFLAGS} -c screen.c && \
    ${CC} ${CFLAGS} -c log.c && \
    ${CC} ${CFLAGS} -c cntfiles.c && \
    ${CC} ${CFLAGS} -c path.c && \
    ${CC} ${CFLAGS} -c misc.c && \
    ${CC} ${CFLAGS} -o ${PORTNAME} main.o copyall.o copy.o screen.o log.o cntfiles.o path.o misc.o ${LDFLAGS}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif

.include <bsd.port.mk>