a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= simdock
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 9
|
|
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 pathfix pkgconfig
|
|
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>
|