openbsd-ports/mail/pine/files/Makefile
marc 5e67da2ce4 Don't try to install shared libpico unless it was generated.
Clean up Packing list and remove share/doc/pine on uninstall
1998-02-19 06:59:26 +00:00

17 lines
758 B
Makefile

all:
./build bsf
install:
if [ -s bin/libpico.so.1.3 ]; then \
install -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
bin/libpico.so.1.3 ${PREFIX}/lib/libpico.so.1.3; \
/sbin/ldconfig -m ${PREFIX}/lib; \
else \
true; \
fi
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pico ${PREFIX}/bin/pico
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pilot ${PREFIX}/bin/pilot
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pine ${PREFIX}/bin/pine
install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} doc/pico.1 ${PREFIX}/man/man1/pico.1
install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} doc/pilot.1 ${PREFIX}/man/man1/pilot.1
install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} doc/pine.1 ${PREFIX}/man/man1/pine.1