summaryrefslogtreecommitdiff
path: root/devel/mob
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-01-15 13:30:13 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-01-15 13:30:13 +0000
commita23653155da92a0a1a02345748a71387cb8e7195 (patch)
treed679271642f600e7c296118370417f30ac923ad3 /devel/mob
parentUpdate md5sum of a rerolled (and otherwise unchanged tarball) (diff)
- 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
Notes
Notes: svn path=/head/; revision=37217
Diffstat (limited to 'devel/mob')
-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