freebsd-ports/graphics/xpx/Makefile
Dmitry Marakasov 33e3d901d4 Convert most of remaining ports that depend on xorg-libraries to
modular xorg.

- supply corresponding USE_XORG for all imake-using ports that need it
- USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG
- retire USE_X_PREFIX which is not really used anywhere after the
  above change
- a few minor nits like whitespace and SF macro

Tested by:	2 tinderbox runs by pav
Approved by:	portmgr (pav)
2009-06-09 15:33:28 +00:00

39 lines
843 B
Makefile

# ports collection makefile for: xpx
# Date created: 25 Oct 1998
# Whom: Seiichirou Hiraoka
#
# $FreeBSD$
#
PORTNAME= xpx
PORTVERSION= 1.41
PORTREVISION= 2
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
USE_XORG= x11 xext
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>