1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/converters/uudx/files/Makefile

27 lines
520 B
Makefile
Raw Normal View History

#
# 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}
.if !defined(NOMANCOMPRESS)
gzip -9nf ${MANDIR}/${MANPAGE}
.endif