6f7d82a284
approved by: infrastructure blanket
27 lines
548 B
Makefile
27 lines
548 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cdircmp
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= LOCAL/ehaupt
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Compare directories and select files to copy
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= ncurses
|
|
LDFLAGS+= -lncurses -lform
|
|
|
|
PLIST_FILES= bin/cdircmp
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -c ${WRKSRC}/main.c -o ${WRKSRC}/main.o
|
|
${CC} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/main.o
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|