diff options
Diffstat (limited to 'sysutils/bubblemon-dockapp/Makefile')
-rw-r--r-- | sysutils/bubblemon-dockapp/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sysutils/bubblemon-dockapp/Makefile b/sysutils/bubblemon-dockapp/Makefile index 3abb978cd273..6b65d974cfea 100644 --- a/sysutils/bubblemon-dockapp/Makefile +++ b/sysutils/bubblemon-dockapp/Makefile @@ -6,9 +6,10 @@ # PORTNAME= bubblemon-dockapp -PORTVERSION= 1.32 +PORTVERSION= 1.40 CATEGORIES= sysutils MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/0$//} MAINTAINER= markp@FreeBSD.org @@ -16,11 +17,22 @@ USE_X_PREFIX= yes USE_GMAKE= yes USE_GTK= yes MAKE_ARGS+= PREFIX="${PREFIX}" +EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} -pre-configure: +post-patch: ${PERL} -pi -e "s@CC = gcc@CC = ${CC}@g; s@-O3 -ansi -Wall@${CFLAGS} -Wall@g; \ s@PREFIX = /usr/local@PREFIX = ${PREFIX}@g; \ s@gtk-config@${GTK_CONFIG}@g; s@-lgtk@-lgtk12@g; \ s@-c -g kmem -m 2755 -o root@-s -c -g kmem -m 2755 -o root@g" ${WRKSRC}/Makefile +post-install: + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/misc/wak.wav ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/misc/wakwak.sh ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/Xdefaults.sample ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + .include <bsd.port.mk> |