1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/shells/fd/Makefile
Alexey Dokuchaev fb09053ffd - Remove `files/patch-Makefile.in' as it is being unused since there is
pre-generated Makefile already provided
- Unbreak the build on PowerPC by not treating it differently from other
  FreeBSD systems
- Respect CFLAGS in a more sane way than patching ${WRKSRC}/machine.h in
  `_post-configure' target with some cryptic sed(1) regexp
- Factor out docfiles installation into `post-install-DOCS-on' target,
  sanitize it a bit, unmute installation commands, move OPTIONS_DEFINE
  knob lower while I am here
- Avoid use of contraction in the port description text
2015-09-08 17:53:40 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
# $FreeBSD$
PORTNAME= fd
PORTVERSION= 3.01b
CATEGORIES= shells net
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
ftp://ftp.unixusers.net/src/fdclone/
DISTNAME= FD-${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
COMMENT= CUI-based file and directory management tool
MAKE_ENV= LANG=ja
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
PREFIX="\$$(DESTDIR)${PREFIX}" \
CONFDIR="\$$(DESTDIR)${PREFIX}/etc" \
DOCS_EN= FAQ.eng \
LICENSES.eng \
README.eng \
TECHKNOW.eng \
ToAdmin.eng
DOCS_JA= FAQ \
HISTORY \
LICENSES \
README \
TECHKNOW \
ToAdmin
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_DATA} ${WRKSRC}/_fdrc.orig \
${STAGEDIR}${PREFIX}/etc/fd2rc.dist
${INSTALL_DATA} ${WRKSRC}/_fdrc ${STAGEDIR}${PREFIX}/etc/fd2rc.sample
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ja/${PORTNAME}
${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS_JA:S,^,${WRKSRC}/,} \
${STAGEDIR}${PREFIX}/share/doc/ja/${PORTNAME}
.include <bsd.port.mk>