freebsd-ports/graphics/xpx/Makefile
Martin Wilke 89ff5af414 - Fix build with gcc4
- Support PORTDOCS/PLIST_FILES

PR:		113776
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-06-19 07:45:26 +00:00

38 lines
824 B
Makefile

# ports collection makefile for: xpx
# Date created: 25 Oct 1998
# Whom: Seiichirou Hiraoka
#
# $FreeBSD$
#
PORTNAME= xpx
PORTVERSION= 1.41
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.oersted.co.jp/~yav/soft/xpx/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple pixel editing tool to make datas for KISS
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_IMAKE= yes
XMKMF= xmkmf
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
PORTDOCS= xpx.doc xpxrc.eg
PLIST_FILES= bin/xpx
post-patch:
@${REINPLACE_CMD} -e 's|myname|my_name|g' ${WRKSRC}/magtoppm.c
@${REINPLACE_CMD} -e '/edit_mode/d' ${WRKSRC}/work.h
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>