aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-10-06 19:14:54 +0800
committervs <vs@FreeBSD.org>2005-10-06 19:14:54 +0800
commitaa7ac4de9fd6caacba127e9b17fa872f25fd9ad8 (patch)
tree12c4077a42cc49adbbbf10d5fa7455df618a75f4
parent622fa1b771c3de3f715682ae4d3c11a72ef71d87 (diff)
downloadfreebsd-ports-gnome-aa7ac4de9fd6caacba127e9b17fa872f25fd9ad8.tar.gz
freebsd-ports-gnome-aa7ac4de9fd6caacba127e9b17fa872f25fd9ad8.tar.zst
freebsd-ports-gnome-aa7ac4de9fd6caacba127e9b17fa872f25fd9ad8.zip
Condense a bit
-rw-r--r--sysutils/procmap/Makefile13
-rw-r--r--sysutils/procmap/files/Makefile10
-rw-r--r--sysutils/procmap/pkg-plist2
3 files changed, 8 insertions, 17 deletions
diff --git a/sysutils/procmap/Makefile b/sysutils/procmap/Makefile
index e9d32c710849..aaebbf94ac65 100644
--- a/sysutils/procmap/Makefile
+++ b/sysutils/procmap/Makefile
@@ -14,15 +14,18 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Print the contents of a procfs map file
NO_WRKSUBDIR= yes
-MAKE_ENV= MAKEOBJDIRPREFIX=${WRKSRC} MAKEOBJDIR=${WRKSRC}
+MAKEFILE= /usr/share/mk/bsd.prog.mk
+MAKE_ENV+= DESTDIR=${PREFIX}/ BINDIR=bin MANDIR=man/man \
+ PROG=procmap MAN8=procmap.8
-procmap_files := Makefile procmap.c procmap.8
+PLIST_FILES= bin/procmap
+MAN8= procmap.8
+MANCOMPRESSED= yes
+
+procmap_files := procmap.c procmap.8
post-extract:
cd ${FILESDIR} ; \
${CP} -p ${procmap_files} ${WRKSRC}
-pre-build:
- cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} obj
-
.include <bsd.port.mk>
diff --git a/sysutils/procmap/files/Makefile b/sysutils/procmap/files/Makefile
deleted file mode 100644
index 4f366813409f..000000000000
--- a/sysutils/procmap/files/Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-# $FreeBSD$
-
-DESTDIR= /usr/local/
-BINDIR= bin
-PROG= procmap
-SRCS= procmap.c
-MANDIR= man/man
-MAN8= procmap.8
-
-.include <bsd.prog.mk> \ No newline at end of file
diff --git a/sysutils/procmap/pkg-plist b/sysutils/procmap/pkg-plist
deleted file mode 100644
index e7ed5bc78dc3..000000000000
--- a/sysutils/procmap/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/procmap
-man/man8/procmap.8.gz