aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2009-12-15 09:51:07 +0800
committerdanfe <danfe@FreeBSD.org>2009-12-15 09:51:07 +0800
commit308828fec9ae4a6fa4d067baa84a6830272f7ff1 (patch)
treee4eff519140e233019c29397a55454f151c1e857 /x11
parent500848526ef043ffafcc1265bfc15da62563a24c (diff)
downloadfreebsd-ports-gnome-308828fec9ae4a6fa4d067baa84a6830272f7ff1.tar.gz
freebsd-ports-gnome-308828fec9ae4a6fa4d067baa84a6830272f7ff1.tar.zst
freebsd-ports-gnome-308828fec9ae4a6fa4d067baa84a6830272f7ff1.zip
- Get rid of the trivial patch
- Pacify portlint(1)
Diffstat (limited to 'x11')
-rw-r--r--x11/9menu/Makefile10
-rw-r--r--x11/9menu/files/patch-aa31
2 files changed, 7 insertions, 34 deletions
diff --git a/x11/9menu/Makefile b/x11/9menu/Makefile
index d1bd6ee7fb6a..e516f4151002 100644
--- a/x11/9menu/Makefile
+++ b/x11/9menu/Makefile
@@ -16,17 +16,21 @@ EXTRACT_SUFX= .shar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple menu patterned after Plan9
-EXTRACT_CMD= zcat
+EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS= # empty
-EXTRACT_AFTER_ARGS= | sh
+EXTRACT_AFTER_ARGS= | ${SH}
USE_XORG= x11
NO_WRKSUBDIR= yes
MAKEFILE= Makefile.noimake
+ALL_TARGET= 9menu
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lX11"
PLIST_FILES= bin/9menu
MAN1= 9menu.1
-MANCOMPRESSED= yes # vendor installation routine does this for us
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/x11/9menu/files/patch-aa b/x11/9menu/files/patch-aa
deleted file mode 100644
index b4f58f7337c7..000000000000
--- a/x11/9menu/files/patch-aa
+++ /dev/null
@@ -1,31 +0,0 @@
-*** Makefile.orig Fri Aug 11 15:55:35 1995
---- Makefile.noimake Fri Aug 11 16:03:26 1995
-***************
-*** 6,13 ****
- # arnold@skeeve.atl.ga.us
-
- CC = gcc
-! CFLAGS = -g -O
-! LIBS = -lX11
-
- 9menu: 9menu.c
- $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
---- 6,23 ----
- # arnold@skeeve.atl.ga.us
-
- CC = gcc
-! CFLAGS = -O -I/usr/X11R6/include
-! LIBS = -L/usr/X11R6/lib -lX11
-!
-!
-! all: 9menu
-
- 9menu: 9menu.c
- $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
-+
-+ install:
-+ $(INSTALL) -c 9menu $(PREFIX)/bin
-+ $(INSTALL) -c 9menu.1 $(PREFIX)/man/man1
-+ strip $(PREFIX)/bin/9menu
-+ gzip -9nf $(PREFIX)/man/man1/9menu.1
-+