1998-11-18 10:56:43 +01:00
|
|
|
# ports collection makefile for: xpx
|
|
|
|
# Date created: 25 Oct 1998
|
|
|
|
# Whom: Seiichirou Hiraoka
|
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-11-18 10:56:43 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= xpx
|
|
|
|
PORTVERSION= 1.41
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
1998-11-18 10:56:43 +01:00
|
|
|
CATEGORIES= graphics
|
1999-06-24 03:57:50 +02:00
|
|
|
MASTER_SITES= http://www.oersted.co.jp/~yav/soft/xpx/
|
2007-06-19 09:45:26 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
|
1998-11-18 10:56:43 +01:00
|
|
|
|
2005-04-03 23:30:39 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A simple pixel editing tool to make datas for KISS
|
1998-11-18 10:56:43 +01:00
|
|
|
|
2007-06-19 09:45:26 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
1998-11-18 10:56:43 +01:00
|
|
|
USE_IMAKE= yes
|
|
|
|
XMKMF= xmkmf
|
|
|
|
|
2007-06-19 09:45:26 +02:00
|
|
|
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
|
|
|
|
|
1998-11-18 10:56:43 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2007-06-19 09:45:26 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
1998-11-18 10:56:43 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|