aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-10-30 05:45:25 +0800
committerolgeni <olgeni@FreeBSD.org>2013-10-30 05:45:25 +0800
commit9d964b09ba5b0f1e3ec45d3dd5cdfa8520b3dcfa (patch)
tree9019317c52fda47cb0a0facc056f039fc3cb9dd7 /sysutils
parenta0d8267ddb664f65a8f282830e35b1744bacfb0f (diff)
downloadfreebsd-ports-gnome-9d964b09ba5b0f1e3ec45d3dd5cdfa8520b3dcfa.tar.gz
freebsd-ports-gnome-9d964b09ba5b0f1e3ec45d3dd5cdfa8520b3dcfa.tar.zst
freebsd-ports-gnome-9d964b09ba5b0f1e3ec45d3dd5cdfa8520b3dcfa.zip
Add staging support.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/symlinks/Makefile17
-rw-r--r--sysutils/symlinks/files/patch-ab37
2 files changed, 10 insertions, 44 deletions
diff --git a/sysutils/symlinks/Makefile b/sysutils/symlinks/Makefile
index d7619d9c6b48..0e01b8cea9cd 100644
--- a/sysutils/symlinks/Makefile
+++ b/sysutils/symlinks/Makefile
@@ -1,17 +1,20 @@
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
-PORTNAME= symlinks
-PORTVERSION= 1.4
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
+PORTNAME= symlinks
+PORTVERSION= 1.4
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= utils/file
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Symbolic link maintenance utility
-MAN8= symlinks.8
-PLIST_FILES= bin/symlinks
+PLIST_FILES= bin/symlinks \
+ man/man8/symlinks.8.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/symlinks ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/symlinks.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/sysutils/symlinks/files/patch-ab b/sysutils/symlinks/files/patch-ab
deleted file mode 100644
index 7d291b0fb08f..000000000000
--- a/sysutils/symlinks/files/patch-ab
+++ /dev/null
@@ -1,37 +0,0 @@
---- Makefile.orig 2010-01-23 10:06:57.000000000 -0800
-+++ Makefile 2010-01-23 10:06:43.000000000 -0800
-@@ -1,15 +1,29 @@
- # Makefile for symlinks
-
--CC = gcc
-+CC?= cc
-+CFLAGS?= -pipe -O
-+COPY?= -c
-+STRIP?= -s
-+BINOWN?= root
-+BINGRP?= wheel
-+BINMODE?= 555
-+MANOWN?= root
-+MANGRP?= wheel
-+MANMODE?= 444
-+
-+INSTALL_PROGRAM?= \
-+ ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
-+INSTALL_MAN?= \
-+ ${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
-
- all: symlinks
-
- symlinks: symlinks.c
-- $(CC) -Wall -Wstrict-prototypes -O2 ${CFLAGS} -o symlinks symlinks.c
-+ $(CC) $(CFLAGS) -o symlinks symlinks.c
-
- install: all symlinks.8
-- install -m 755 -o root -g root symlinks /usr/local/bin
-- install -m 644 -o root -g root symlinks.8 /usr/local/man/man8
-+ @ ${INSTALL_PROGRAM} symlinks $(PREFIX)/bin
-+ @ ${INSTALL_MAN} symlinks.8 $(PREFIX)/man/man8
-
- clean:
-- rm -f symlinks *.o core
-+ @ rm -f symlinks *.o core