1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/sysutils/extipl/Makefile
2014-07-04 22:25:48 +00:00

35 lines
1005 B
Makefile

# Created by: KIMURA Takamichi <takamiti@tsden.org>
# $FreeBSD$
PORTNAME= extipl
PORTVERSION= 5.04
CATEGORIES= sysutils
MASTER_SITES= SFJP/${PORTNAME}/2166
MAINTAINER= ports@FreeBSD.org
COMMENT= Partition-selectable boot loader for IBM-PC/AT compatibles
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}/${DISTNAME}/src
OPTIONS_DEFINE= DOCS
post-patch:
cd ${WRKSRC}; \
${SED} -e 's|!!DOCDIR!!|${DOCSDIR}|g' \
${PORTNAME}.8.in > ${PORTNAME}.8; \
${REINPLACE_CMD} -e 's/^(CC)\t=/$$1?=/;' \
-e 's/(DIR)[\t]*[?]=/$$1=/;' Makefile
do-install:
${INSTALL_PROGRAM} -m 700 ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
@${MKDIR} ${STAGEDIR}${DOCSDIR}/English
${INSTALL_DATA} ${WRKSRC}/../doc/English/*.txt ${STAGEDIR}${DOCSDIR}/English
@${MKDIR} ${STAGEDIR}${DOCSDIR}/Japanese
${INSTALL_DATA} ${WRKSRC}/../doc/Japanese/*.txt ${STAGEDIR}${DOCSDIR}/Japanese
.include <bsd.port.mk>