Bug 175610 - sysutils/sec: fix package build
Summary: sysutils/sec: fix package build
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: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-26 16:40 UTC by Nicolas Jombart
Modified: 2013-01-26 17:10 UTC (History)
1 user (show)

See Also:


Attachments
sec.diff (401 bytes, patch)
2013-01-26 16:40 UTC, Nicolas Jombart
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Jombart 2013-01-26 16:40:00 UTC
Fix package building

How-To-Repeat: 
portmaster --no-confirm -dg sysutils/sec
Comment 1 Ruslan Makhmatkhanov freebsd_committer 2013-01-26 17:02:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

I will take it.
Comment 2 dfilter service freebsd_committer 2013-01-26 17:07:33 UTC
Author: rm
Date: Sat Jan 26 17:07:25 2013
New Revision: 311033
URL: http://svnweb.freebsd.org/changeset/ports/311033

Log:
  - fix docs installation
  - define PORTDOCS list uncoditionally, while here
  
  PR:		ports/175610
  Submitted by:	Nicolas Jombart <ecu@200ok.org> (maintainer)

Modified:
  head/sysutils/sec/Makefile

Modified: head/sysutils/sec/Makefile
==============================================================================
--- head/sysutils/sec/Makefile	Sat Jan 26 16:59:10 2013	(r311032)
+++ head/sysutils/sec/Makefile	Sat Jan 26 17:07:25 2013	(r311033)
@@ -21,16 +21,14 @@ DATADIR=	share/sec
 PORTCONTRIB=	convert.pl itostream.c swatch2sec.pl
 PLIST_FILES+=	${PORTCONTRIB:S|^|%%DATADIR%%/|}
 PLIST_DIRS+=	${DATADIR}
+PORTDOCS=	ChangeLog README
 
 .include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS=	ChangeLog README
-.endif
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
 	${INSTALL_MAN} ${WRKSRC}/sec.man ${PREFIX}/man/man8/sec.8
-.if empty(PORT_OPTIONS:MDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .for file in ${PORTDOCS}
 	${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
_______________________________________________
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 Ruslan Makhmatkhanov freebsd_committer 2013-01-26 17:07:54 UTC
State Changed
From-To: open->closed

Committed, thank you!