freebsd-ports/x11/xinit/Makefile
Helge Oldach 32df485cf6 x11/*: Move manpages to share/man
Approved by:	portmgr (blanket)
2024-01-29 22:34:26 +03:00

24 lines
551 B
Makefile

PORTNAME= xinit
PORTVERSION= 1.4.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
COMMENT= X Window System initializer
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
EXTRACT_SUFX= .tar.xz
USES= xorg xorg-cat:app
USE_XORG= x11
post-patch:
@${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|hexdump|/usr/bin/hexdump|' ${WRKSRC}/startx.cpp
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/man/xinit.man
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
.include <bsd.port.mk>