aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-01-15 21:30:13 +0800
committerkevlo <kevlo@FreeBSD.org>2001-01-15 21:30:13 +0800
commit5c4da251acff2d10d3fb6a7ef03afd694223ea7c (patch)
tree379b0512426b7f0c65960d9afa436f924d206158 /devel
parent8b89413fafd0acb2ed8afd6093c872e58ddf0002 (diff)
downloadfreebsd-ports-gnome-5c4da251acff2d10d3fb6a7ef03afd694223ea7c.tar.gz
freebsd-ports-gnome-5c4da251acff2d10d3fb6a7ef03afd694223ea7c.tar.zst
freebsd-ports-gnome-5c4da251acff2d10d3fb6a7ef03afd694223ea7c.zip
- Support CFLAGS properly
- Use own do-install target(mainly to avoid creating odd directory) - Include additional document into package PR: 24282 Submitted by: Ports Fury
Diffstat (limited to 'devel')
-rw-r--r--devel/mob/Makefile15
-rw-r--r--devel/mob/files/patch-aa17
-rw-r--r--devel/mob/pkg-plist2
3 files changed, 32 insertions, 2 deletions
diff --git a/devel/mob/Makefile b/devel/mob/Makefile
index 3a12b96ded2d..5733ede9e7e6 100644
--- a/devel/mob/Makefile
+++ b/devel/mob/Makefile
@@ -7,13 +7,24 @@
PORTNAME= mob
PORTVERSION= 0.1.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://steamboat.cs.ucsb.edu/mob/src/
-DISTFILES= mob-1.0-BETA.tgz
+DISTNAME= ${PORTNAME}-1.0-BETA
+EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-GNU_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/inspector ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/mob
+ ${INSTALL_DATA} ${WRKSRC}/doc/mob.ps ${PREFIX}/share/doc/mob
+.endif
.include <bsd.port.mk>
diff --git a/devel/mob/files/patch-aa b/devel/mob/files/patch-aa
new file mode 100644
index 000000000000..50eb9ca4f47b
--- /dev/null
+++ b/devel/mob/files/patch-aa
@@ -0,0 +1,17 @@
+--- configure.orig Fri Oct 13 04:30:54 2000
++++ configure Thu Jan 11 02:50:23 2001
+@@ -960,10 +960,10 @@
+
+ #RC_MODULE_TRAP([ELVIS_IROBEX])
+ # ensure no optimizations
+-if test -n "$CFLAGS"; then
+- CFLAGS="`echo $CFLAGS | sed -e 's/-O.//g'`"
+-fi
+-CFLAGS="$CFLAGS -O0"
++#if test -n "$CFLAGS"; then
++# CFLAGS="`echo $CFLAGS | sed -e 's/-O.//g'`"
++#fi
++#CFLAGS="$CFLAGS -O0"
+ # check whether to include debug symbols
+ echo $ac_n "checking whether to compile with debug symbols""... $ac_c" 1>&6
+ echo "configure:970: checking whether to compile with debug symbols" >&5
diff --git a/devel/mob/pkg-plist b/devel/mob/pkg-plist
index 8ed8ce150de6..9df6240db3ef 100644
--- a/devel/mob/pkg-plist
+++ b/devel/mob/pkg-plist
@@ -1 +1,3 @@
bin/inspector
+share/doc/mob/mob.ps
+@dirrm share/doc/mob