1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/x11/libsx/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

36 lines
951 B
Makefile

# Created by: Pedro Giffuni
# $FreeBSD$
PORTNAME= libsx
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= XCONTRIB/libraries
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple X11 library
LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d
USES= tar:Z xorg
USE_XORG= x11 xaw xext xmu xt
ALL_TARGET= src freq
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKSRC}/src/libsx.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/freq/libfreq.a ${STAGEDIR}${PREFIX}/lib
@${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/libsx
${INSTALL_DATA} ${WRKSRC}/src/libsx.h ${STAGEDIR}${PREFIX}/include/X11/libsx
${INSTALL_DATA} ${WRKSRC}/freq/freq.h ${STAGEDIR}${PREFIX}/include/X11/libsx
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/libsx
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${PREFIX}/share/doc/libsx
${GZIP_CMD} ${STAGEDIR}${PREFIX}/share/doc/libsx/*.doc
.include <bsd.port.mk>