1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/xmagv/Makefile
Rong-En Fan a945afae22 - Fix build when NOPORTDOCS is defined by correctly set PORTDOCS [1]
- Always install manual pages since they are not governed by NOPORTDOCS
- Remove pkg-plist since it's small, use PLIST_FILES instead

Found by:	QAT [1]
2008-08-24 10:14:01 +00:00

40 lines
851 B
Makefile

# ports collection makefile for: xmagv
# Date created: 25 Oct 1998
# Whom: Seiichirou Hiraoka
#
# $FreeBSD$
#
PORTNAME= xmagv
PORTVERSION= 1.11
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.vector.co.jp/pack/unix/art/graphics/loader/mag/
DISTFILES= xmagv111.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Viewer for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
USE_IMAKE= yes
XMKMF= xmkmf
MANLANG= . ja
MAN1= xmagv.1
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
PLIST_FILES= bin/xmagv
PORTDOCS= xmagv.doc
post-install:
${INSTALL_MAN} ${WRKSRC}/xmagv.j ${PREFIX}/man/ja/man1
${MV} ${PREFIX}/man/ja/man1/xmagv.j ${PREFIX}/man/ja/man1/xmagv.1
${GZIP_CMD} ${PREFIX}/man/ja/man1/xmagv.1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/xmagv.doc ${DOCSDIR}
.endif
.include <bsd.port.mk>