1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Add staging support

- Remove leading article from COMMENT
- Convert to new LIB_DEPENDS format, USES=gmake
This commit is contained in:
Pawel Pekala 2014-04-28 19:05:51 +00:00
parent 09ce0616fa
commit 629f493b18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352541
2 changed files with 13 additions and 15 deletions

View File

@ -10,21 +10,18 @@ MASTER_SITE_SUBDIR= apps/graphics/viewers/svga
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A console graphics viewer using the svga console graphics library
COMMENT= Console graphics viewer using the svga console graphics library
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib \
jpeg.11:${PORTSDIR}/graphics/jpeg
LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib \
libjpeg.so:${PORTSDIR}/graphics/jpeg
USES= gmake
ALL_TARGET= seejpeg
MAN1= seejpeg.1
MANCOMPRESSED= yes
PLIST_FILES= bin/seejpeg
USE_GMAKE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
PLIST_FILES= bin/seejpeg man/man1/seejpeg.1.gz
post-extract:
${CHMOD} 0644 ${WRKSRC}/Makefile

View File

@ -1,5 +1,5 @@
--- Makefile.orig Sun Nov 7 14:55:19 1999
+++ Makefile Sun Jul 6 19:53:33 2003
--- Makefile.orig 1999-11-07 06:55:19.000000000 +0100
+++ Makefile 2014-04-28 20:49:33.000000000 +0200
@@ -6,30 +6,30 @@
# $Id: Makefile,v 1.8 1999/11/07 05:55:19 evan Exp $
@ -39,13 +39,14 @@
LDOPTS= -s
SEEJPEG= seejpeg.o jpeg.o image.o display.o cmap.o \
@@ -54,7 +54,8 @@
@@ -53,8 +53,8 @@
$(CC) $(CFLAGS) $(LDOPTS) -o seejpeg $(SEEJPEG) $(LIBS)
install:
install -s -o root -g bin -m 4711 seejpeg $(BIN)
- install -s -o root -g bin -m 4711 seejpeg $(BIN)
- install -o root -g root -m 644 seejpeg.1 $(MAN)
+ install -o root -g wheel -m 644 seejpeg.1 $(MAN)
+ gzip ${LOCALBASE}/man/man1/seejpeg.1
+ install -s -m 4711 seejpeg $(DESTDIR)$(BIN)
+ install -m 644 seejpeg.1 $(DESTDIR)$(MAN)
clean:
rm -f *.o jpeglib/*.o *~ core seejpeg