2013-03-25 19:14:43 +00:00
|
|
|
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
2007-08-21 09:53:21 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= simdock
|
|
|
|
PORTVERSION= 1.2
|
2015-09-16 19:51:26 +00:00
|
|
|
PORTREVISION= 8
|
2007-08-21 09:53:21 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
|
2008-03-02 08:25:11 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-13 02:01:16 +00:00
|
|
|
COMMENT= Fast and customizable dockbar
|
2007-08-21 09:53:21 +00:00
|
|
|
|
2015-10-14 23:50:32 +00:00
|
|
|
LICENSE= GPLv2 # or later
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2014-01-05 12:19:31 +00:00
|
|
|
|
2007-08-21 09:53:21 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2014-01-05 12:19:31 +00:00
|
|
|
USES= desktop-file-utils pathfix pkgconfig
|
2013-03-28 03:28:30 +00:00
|
|
|
USE_GNOME= gnomeprefix gconf2 libwnck
|
2007-08-21 09:53:21 +00:00
|
|
|
USE_WX= 2.8
|
2014-08-26 14:06:08 +00:00
|
|
|
USE_XORG= x11
|
2007-08-21 09:53:21 +00:00
|
|
|
WX_CONF_ARGS= absolute
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/trunk
|
|
|
|
|
2015-10-14 23:50:32 +00:00
|
|
|
PORTDOCS= AUTHORS ChangeLog README
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-01-05 12:19:31 +00:00
|
|
|
|
2007-08-21 09:53:21 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
|
|
|
|
${WRKSRC}/Makefile.in \
|
|
|
|
${WRKSRC}/src/main.h
|
2014-08-26 14:06:08 +00:00
|
|
|
@${REINPLACE_CMD} '/^simdock_LDADD =/s/$$/ -lX11/' \
|
|
|
|
${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
|
2007-08-21 09:53:21 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' \
|
|
|
|
-e 's|/usr/share/firefox|${PREFIX}/lib/firefox|g' \
|
|
|
|
${WRKSRC}/src/main.cc
|
|
|
|
|
2015-10-14 23:50:32 +00:00
|
|
|
post-install-DOCS-on:
|
2014-01-05 12:19:31 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2007-08-21 09:53:21 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|