freebsd-ports/x11/simdock/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

45 lines
1 KiB
Makefile

# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= simdock
PORTVERSION= 1.2
PORTREVISION= 10
CATEGORIES= x11
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast and customizable dockbar
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= compiler:c++11-lang desktop-file-utils gnome pathfix pkgconfig \
xorg
USE_GNOME= gnomeprefix gconf2 libwnck
USE_WX= 2.8
USE_XORG= x11
WX_CONF_ARGS= absolute
WRKSRC= ${WRKDIR}/trunk
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
${WRKSRC}/Makefile.in \
${WRKSRC}/src/main.h
@${REINPLACE_CMD} '/^simdock_LDADD =/s/$$/ -lX11/' \
${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' \
-e 's|/usr/share/firefox|${PREFIX}/lib/firefox|g' \
${WRKSRC}/src/main.cc
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>