mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
d54b76dca5
Approved by: roberto(mentor)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# 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= 1.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://members.optusnet.com.au/~dbbryan/vcp/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= mich@FreeBSD.org
|
|
COMMENT= Copy files in curses interface
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
LDFLAGS+= -lncurses
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} ${CFLAGS} -c main.c && \
|
|
${CC} ${CFLAGS} -c color.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 color.o ${LDFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|