1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/japanese/cdrom2/files/Makefile
Masafumi Max NAKANE f85c5727aa New port:
jp-cdrom2 - A tool to lookup CD-ROM dictionaries in EPWING format
1997-02-03 16:31:53 +00:00

30 lines
541 B
Makefile

# $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}