28f497a7e4
PR: 42285 Submitted by: Edwin Groothuis <edwin@mavetju.org>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# New ports collection makefile for: bubblemon-dockapp
|
|
# Date created: Apr 16, 2001
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bubblemon-dockapp
|
|
PORTVERSION= 1.40
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/0$//}
|
|
|
|
MAINTAINER= markp@FreeBSD.org
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOMENG= yes
|
|
USE_GNOME= gtk12
|
|
MAKE_ARGS+= PREFIX="${PREFIX}"
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
|
|
|
|
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>
|