Bug 184272 - Update port: sysutils/hardlink Add STAGE support
Summary: Update port: sysutils/hardlink Add STAGE support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 06:40 UTC by Douglas Thrift
Modified: 2013-11-26 15:10 UTC (History)
1 user (show)

See Also:


Attachments
hardlink.2013-11-25T062822Z.diff (1.20 KB, patch)
2013-11-25 06:40 UTC, Douglas Thrift
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Thrift 2013-11-25 06:40:00 UTC
Add STAGE support to sysutils/hardlink and fix OPTIONSNG for PCRE.

https://redports.org/buildarchive/20131124233801-13185/
Comment 1 Edwin Groothuis freebsd_committer 2013-11-25 06:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-11-26 15:07:30 UTC
Author: sunpoet
Date: Tue Nov 26 15:07:16 2013
New Revision: 334942
URL: http://svnweb.freebsd.org/changeset/ports/334942

Log:
  - Convert to new options framework
  - Support STAGEDIR
  - While I'm here, convert to new LIB_DEPENDS format
  
  PR:		ports/184272
  Submitted by:	Douglas William Thrift <douglas@douglasthrift.net> (maintainer)

Modified:
  head/sysutils/hardlink/Makefile   (contents, props changed)

Modified: head/sysutils/hardlink/Makefile
==============================================================================
--- head/sysutils/hardlink/Makefile	Tue Nov 26 14:59:40 2013	(r334941)
+++ head/sysutils/hardlink/Makefile	Tue Nov 26 15:07:16 2013	(r334942)
@@ -15,8 +15,8 @@ LICENSE=	MIT
 
 USES=		pkgconfig
 
-MAN1=		hardlink.1
-PLIST_FILES=	bin/hardlink
+PLIST_FILES=	bin/hardlink \
+		man/man1/hardlink.1.gz
 WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
 
 OPTIONS_DEFINE=	PCRE
@@ -25,17 +25,16 @@ OPTIONS_DEFAULT=PCRE
 
 PORTSCOUT=	limit:(?<!~rc[0-9])$$
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-.if defined(WITHOUT_PCRE)
-MAKE_ENV+=	ENABLE=
+.if ${PORT_OPTIONS:MPCRE}
+LIB_DEPENDS+=	libpcreposix.so:${PORTSDIR}/devel/pcre
 .else
-LIB_DEPENDS+=	pcreposix:${PORTSDIR}/devel/pcre
+MAKE_ENV+=	ENABLE=
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/hardlink ${PREFIX}/bin/hardlink
-	${INSTALL_MAN} ${WRKSRC}/hardlink.1 ${MAN1PREFIX}/man/man1/hardlink.1
+	${INSTALL_PROGRAM} ${WRKSRC}/hardlink ${STAGEDIR}${PREFIX}/bin/hardlink
+	${INSTALL_MAN} ${WRKSRC}/hardlink.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/hardlink.1
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer 2013-11-26 15:09:48 UTC
State Changed
From-To: open->closed

Committed. Thanks!