svn commit: r337377 - in head/print/kde_poster: . files

Raphael Kubo da Costa rakuco at FreeBSD.org
Tue Dec 24 17:34:50 UTC 2013


Author: rakuco
Date: Tue Dec 24 17:34:49 2013
New Revision: 337377
URL: http://svnweb.freebsd.org/changeset/ports/337377

Log:
  - Fix the build when only clang is present
  - Respect CFLAGS (bump PORTREVISION for consistency)
  - Set LICENSE
  - Support staging
  - Do not silence the calls made in the do-install target
  - Stop needlessly setting PKGNAMESUFFIX

Added:
  head/print/kde_poster/files/
  head/print/kde_poster/files/patch-Makefile   (contents, props changed)
Modified:
  head/print/kde_poster/Makefile

Modified: head/print/kde_poster/Makefile
==============================================================================
--- head/print/kde_poster/Makefile	Tue Dec 24 17:26:22 2013	(r337376)
+++ head/print/kde_poster/Makefile	Tue Dec 24 17:34:49 2013	(r337377)
@@ -3,28 +3,27 @@
 
 PORTNAME=	kde_poster
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	print kde
 MASTER_SITES=	${MASTER_SITE_KDE}
 MASTER_SITE_SUBDIR=	printing
-PKGNAMESUFFIX?=	# empty
 DISTNAME=	poster
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	KDE version of the poster utility
 
+LICENSE=	GPL2
+
 USE_BZIP2=	yes
-USE_GMAKE=	yes
 ALL_TARGET=	poster
 WRKSRC=		${WRKDIR}/${DISTNAME}-20060221
 
 CONFLICTS?=	poster-[0-9]*
 
-MAN1=		poster.1
-PLIST_FILES=	bin/poster
+PLIST_FILES=	bin/poster man/man1/poster.1.gz
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
-	@${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.1 ${PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
 
 .include <bsd.port.mk>

Added: head/print/kde_poster/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/kde_poster/files/patch-Makefile	Tue Dec 24 17:34:49 2013	(r337377)
@@ -0,0 +1,13 @@
+--- Makefile.orig	2002-08-29 19:15:37.000000000 +0300
++++ Makefile	2013-12-24 19:18:30.000000000 +0200
+@@ -1,8 +1,8 @@
+-CFLAGS = -g -Wall
++#CFLAGS = -g -Wall
+ #CFLAGS = -O2 -Wall
+ 
+ poster: poster.c
+-	gcc $(CFLAGS) -o poster poster.c -lm
++	$(CC) $(CFLAGS) -o poster poster.c -lm
+ 
+ # HPUX:	cc -O -Aa -D_POSIX_SOURCE -o poster poster.c -lm
+ #       Note that this program might trigger a stupid bug in the HPUX C library,


More information about the svn-ports-head mailing list