1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/x11/xmangekyou/Makefile
2024-01-08 17:30:29 +01:00

39 lines
1.1 KiB
Makefile

PORTNAME= xmangekyou
PORTVERSION= 2.0.1
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= http://ftp.vector.co.jp/16/65/1309/
MAINTAINER= ports@FreeBSD.org
COMMENT= Kaleidoscope on X
WWW= https://www.vector.co.jp/soft/unix/art/se077243.html
USES= xorg
USE_XORG= x11 xpm xaw
ALL_TARGET= xmangekyou
PORTDOCS= COPYRIGHT.euc HISTORY.euc README.euc
PLIST_FILES= bin/xmangekyou lib/X11/XMangekyou/animation.dat \
share/man/man1/xmangekyou.1.gz
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|= /usr/X11R6|= $${PREFIX}|g ; \
s|gcc |$${CC} |g ; \
s|-O |$${CFLAGS} |g ; \
s|-I/usr/X11R6/|-I$${LOCALBASE}/|g ; \
s|-L/usr/X11R6/|-L$${LOCALBASE}/|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xmangekyou ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xmangekyou.1.gz ${STAGEDIR}${PREFIX}/share/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/XMangekyou
${INSTALL_DATA} ${WRKSRC}/animation.dat ${STAGEDIR}${PREFIX}/lib/X11/XMangekyou
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.euc ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>