aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdircmp/Makefile
blob: 67add27a9d2eb6ec80541be15f7466fdadd30944 (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
# 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>