mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
23 lines
452 B
Makefile
23 lines
452 B
Makefile
#
|
|
# makefile of uudx
|
|
#
|
|
|
|
CFLAGS += -DBSD=1 -DEUC=1 -DUTIME_EXIST -DMKDIR_HAS_MODE
|
|
PROGRAM = uudx
|
|
MANPAGE = uudx.1
|
|
MANDIR = ${PREFIX}/man/ja_JP.EUC/man1
|
|
SRC = uudx.c
|
|
OBJ = uudx.o
|
|
|
|
all: ${PROGRAM}
|
|
|
|
${PROGRAM}: ${OBJ}
|
|
${CC} ${CFLAGS} -o ${PROGRAM} ${OBJ}
|
|
nkf -e ${MANPAGE} > ${MANPAGE}.tmp
|
|
mv -f ${MANPAGE}.tmp ${MANPAGE}
|
|
|
|
install: ${PROGRAM}
|
|
${INSTALL} -c -s ${PROGRAM} ${PREFIX}/bin
|
|
mkdir -p ${MANDIR}
|
|
${INSTALL} -c ${MANPAGE} ${MANDIR}
|