1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/japanese/epwutil/Makefile
Pawel Pekala 86507c0e97 - Add staging support
- Install manpages to correct directory
- Switch to PLIST_FILES
- Define DOCS option
2014-05-09 12:22:40 +00:00

32 lines
806 B
Makefile

# Created by: Kazutoki TAKAMUNE <takamune@avrl.mei.co.jp>
# $FreeBSD$
PORTNAME= epwutil
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/epwutil/
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities to manage Japanese EPWING or Electric-Book based CD-ROM
MAKEFILE= makefile.unx
EPWPROGS= bookinfo catdump squeeze
PLIST_FILES= ${EPWPROGS:S|^|bin/|} ${EPWPROGS:S|^|man/ja/man1/|:S|$|.1.gz|}
PORTDOCS= epwutil.doc
OPTIONS_DEFINE= DOCS
do-install:
.for file in ${EPWPROGS}
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${file}.man \
${STAGEDIR}${MANPREFIX}/man/ja/man1/${file}.1
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>