1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/japanese/cdrom2/files/Makefile

30 lines
541 B
Makefile
Raw Normal View History

# $Id$
#
# Installation prefix:
PREFIX?=/usr/local
BINDIR=${PREFIX}/bin
LIBDIR=${PREFIX}/lib/cdrom2
PROGRAMS=cdrom2 cdgaiji
TBL_FILES=kojien3.tbl ruigo.tbl
all: ${PROGRAMS}
cdrom2: cdrom2.c
cc -DUNIX -O -o cdrom2 cdrom2.c
cdgaiji: cdgaiji.c
cc -DUNIX -O -o cdgaiji cdgaiji.c
install:
for f in ${PROGRAMS} ; do \
/usr/bin/install -c -s -o bin -g bin -m 755 $$f ${BINDIR} ;\
done
/bin/mkdir -p ${LIBDIR}
for f in ${TBL_FILES} ; do \
/usr/bin/install -c -o bin -g bin -m 644 $$f ${LIBDIR} ;\
done
clean:
rm -f ${PROGRAMS}