Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 19:05:52 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352541 - in head/graphics/seejpeg: . files
Message-ID:  <201404281905.s3SJ5q7j090787@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Apr 28 19:05:51 2014
New Revision: 352541
URL: http://svnweb.freebsd.org/changeset/ports/352541
QAT: https://qat.redports.org/buildarchive/r352541/

Log:
  - Add staging support
  - Remove leading article from COMMENT
  - Convert to new LIB_DEPENDS format, USES=gmake

Added:
  head/graphics/seejpeg/files/patch-Makefile
     - copied, changed from r352539, head/graphics/seejpeg/files/patch-aa
Deleted:
  head/graphics/seejpeg/files/patch-aa
Modified:
  head/graphics/seejpeg/Makefile

Modified: head/graphics/seejpeg/Makefile
==============================================================================
--- head/graphics/seejpeg/Makefile	Mon Apr 28 18:52:13 2014	(r352540)
+++ head/graphics/seejpeg/Makefile	Mon Apr 28 19:05:51 2014	(r352541)
@@ -10,21 +10,18 @@ MASTER_SITE_SUBDIR=	apps/graphics/viewer
 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
 

Copied and modified: head/graphics/seejpeg/files/patch-Makefile (from r352539, head/graphics/seejpeg/files/patch-aa)
==============================================================================
--- head/graphics/seejpeg/files/patch-aa	Mon Apr 28 18:21:03 2014	(r352539, copy source)
+++ head/graphics/seejpeg/files/patch-Makefile	Mon Apr 28 19:05:51 2014	(r352541)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404281905.s3SJ5q7j090787>