mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
1: Support staging.
2: make portlint happy. Approved by: portmgr@
This commit is contained in:
parent
4a30d3d3e0
commit
a76b81ad55
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354234
3 changed files with 22 additions and 4 deletions
|
@ -11,11 +11,8 @@ MASTER_SITES= ftp://gwdu111.gwdg.de/pub/FreeBSD/misc/ \
|
||||||
MAINTAINER= kheuer@gwdg.de
|
MAINTAINER= kheuer@gwdg.de
|
||||||
COMMENT= Special purpose database application
|
COMMENT= Special purpose database application
|
||||||
|
|
||||||
MAN1= useracc.1
|
PLIST_FILES= bin/useracc etc/rc.d/useracc.sh.sample man/man1/useracc.1.gz
|
||||||
MANCOMPRESSED= yes
|
|
||||||
PLIST_FILES= bin/useracc etc/rc.d/useracc.sh.sample
|
|
||||||
|
|
||||||
CFLAGS+= -DFreeBSD
|
CFLAGS+= -DFreeBSD
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
21
databases/useracc/files/patch-Makefile
Normal file
21
databases/useracc/files/patch-Makefile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
--- Makefile.orig 2014-05-16 22:58:38.350622720 +0800
|
||||||
|
+++ Makefile 2014-05-16 22:59:10.972611338 +0800
|
||||||
|
@@ -57,12 +57,12 @@ deinstall:
|
||||||
|
-$(RMDIR) -p $(PREFIX)/man/man1
|
||||||
|
|
||||||
|
install:
|
||||||
|
- $(INSTALL) -d -g wheel -m 755 -o root $(PREFIX)/bin
|
||||||
|
- $(INSTALL) -c -g wheel -m 555 -o root -s bin/useracc $(PREFIX)/bin
|
||||||
|
- $(INSTALL) -d -g wheel -m 755 -o root $(PREFIX)/etc/rc.d
|
||||||
|
- $(INSTALL) -c -g wheel -m 555 -o root etc/useracc.sh.sample $(PREFIX)/etc/rc.d
|
||||||
|
- $(INSTALL) -d -g wheel -m 755 -o root $(PREFIX)/man/man1
|
||||||
|
- $(INSTALL) -c -g wheel -m 444 -o root man/useracc.1.gz $(PREFIX)/man/man1
|
||||||
|
+ $(INSTALL) -d -g wheel -m 755 -o root $(DESTDIR)$(PREFIX)/bin
|
||||||
|
+ $(INSTALL) -c -g wheel -m 555 -o root -s bin/useracc $(DESTDIR)$(PREFIX)/bin
|
||||||
|
+ $(INSTALL) -d -g wheel -m 755 -o root $(DESTDIR)$(PREFIX)/etc/rc.d
|
||||||
|
+ $(INSTALL) -c -g wheel -m 555 -o root etc/useracc.sh.sample $(DESTDIR)$(PREFIX)/etc/rc.d
|
||||||
|
+ $(INSTALL) -d -g wheel -m 755 -o root $(DESTDIR)$(PREFIX)/man/man1
|
||||||
|
+ $(INSTALL) -c -g wheel -m 444 -o root man/useracc.1.gz $(DESTDIR)$(PREFIX)/man/man1
|
||||||
|
|
||||||
|
useracc: useracc.o
|
||||||
|
$(CC) $(CFLAGS) useracc.o $(LDFLAGS) -o $@
|
Loading…
Add table
Reference in a new issue