1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/editors/xcoral/Makefile
Niclas Zeising d52303ea80 Add USES=xorg USES=gl, ports categories e
Add USES=xorg, USES=gl and in a few cases USES=gnome to ports in categories
starting with 'e'.
2019-11-05 15:48:40 +00:00

40 lines
918 B
Makefile

# Created by: erich@rrnet.com
# $FreeBSD$
PORTNAME= xcoral
PORTVERSION= 3.47
PORTREVISION= 4
CATEGORIES= editors
MASTER_SITES= http://xcoral.free.fr/
PATCH_SITES= http://aldan.algebra.com/~mi/port-stuff/
PATCHFILES= xcoral-alpheus-and-peneus-2019.patch.bz2
MAINTAINER= mi@aldan.algebra.com
COMMENT= Multiwindow mouse-based text editor for X
LICENSE= GPLv2
USES= bison compiler:c11 xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/share
LIBS+= -lgnuregex
PLIST_SUB= VERSION="${PORTVERSION}"
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's| regex\.[co] | |g ; \
s| -g | |g' ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xcoral ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/SmacLib/* ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Doc/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>