svn commit: r397523 - in head/news: husky husky-areafix husky-fidoconf husky-hpt husky-htick husky-huskylib husky-smapi

Bryan Drewery bdrewery at FreeBSD.org
Mon Sep 21 22:09:11 UTC 2015


Author: bdrewery
Date: Mon Sep 21 22:09:08 2015
New Revision: 397523
URL: https://svnweb.freebsd.org/changeset/ports/397523

Log:
  Rework husky ports to use a more conventional MASTER/SLAVE port pattern.
  - Remove Makefile.local as it is intended to be a user file that should
    not be committed.  Its documentation is poor (r12873) but users are
    relying on it.
  - Remove CONFLICTS as for every port it just conflicted with itself.
  
  With hat:	portmgr

Deleted:
  head/news/husky/Makefile.local
Modified:
  head/news/husky-areafix/Makefile
  head/news/husky-fidoconf/Makefile
  head/news/husky-hpt/Makefile
  head/news/husky-htick/Makefile
  head/news/husky-huskylib/Makefile
  head/news/husky-smapi/Makefile
  head/news/husky/Makefile

Modified: head/news/husky-areafix/Makefile
==============================================================================
--- head/news/husky-areafix/Makefile	Mon Sep 21 21:34:28 2015	(r397522)
+++ head/news/husky-areafix/Makefile	Mon Sep 21 22:09:08 2015	(r397523)
@@ -1,9 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	husky-areafix
-CATEGORIES=	news mail
 
-MAINTAINER=	osharoiko at gmail.com
 COMMENT=	Husky FTN areafix library
 
 LIB_DEPENDS=	libfidoconfig.so:${PORTSDIR}/news/husky-fidoconf
@@ -13,4 +11,4 @@ USE_LDCONFIG=	yes
 MASTERDIR=	${.CURDIR}/../husky
 COMPONENT_SUBDIR=	areafix
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/news/husky-fidoconf/Makefile
==============================================================================
--- head/news/husky-fidoconf/Makefile	Mon Sep 21 21:34:28 2015	(r397522)
+++ head/news/husky-fidoconf/Makefile	Mon Sep 21 22:09:08 2015	(r397523)
@@ -1,9 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	husky-fidoconf
-CATEGORIES=	news mail
 
-MAINTAINER=	osharoiko at gmail.com
 COMMENT=	Husky FTN configuration library
 
 LIB_DEPENDS=	libsmapi.so:${PORTSDIR}/news/husky-smapi
@@ -39,4 +37,4 @@ post-install:
 	${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2tornado.1
 	${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fecfg2fconf.1
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/news/husky-hpt/Makefile
==============================================================================
--- head/news/husky-hpt/Makefile	Mon Sep 21 21:34:28 2015	(r397522)
+++ head/news/husky-hpt/Makefile	Mon Sep 21 22:09:08 2015	(r397523)
@@ -1,9 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	husky-hpt
-CATEGORIES=	news mail
 
-MAINTAINER=	osharoiko at gmail.com
 COMMENT=	Husky FTN tosser
 
 LIB_DEPENDS=	libfidoconfig.so:${PORTSDIR}/news/husky-fidoconf \
@@ -25,4 +23,4 @@ post-patch:
 	${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
 		${WRKSRC}/man/txt2pkt.1
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/news/husky-htick/Makefile
==============================================================================
--- head/news/husky-htick/Makefile	Mon Sep 21 21:34:28 2015	(r397522)
+++ head/news/husky-htick/Makefile	Mon Sep 21 22:09:08 2015	(r397523)
@@ -1,9 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	husky-htick
-CATEGORIES=	news mail
 
-MAINTAINER=     osharoiko at gmail.com
 COMMENT=	Husky FTN file ticker
 
 LIB_DEPENDS=	libfidoconfig.so:${PORTSDIR}/news/husky-fidoconf \
@@ -29,4 +27,4 @@ post-patch:
 	${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \
 		${WRKSRC}/man/htick.1
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/news/husky-huskylib/Makefile
==============================================================================
--- head/news/husky-huskylib/Makefile	Mon Sep 21 21:34:28 2015	(r397522)
+++ head/news/husky-huskylib/Makefile	Mon Sep 21 22:09:08 2015	(r397523)
@@ -1,9 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	husky-huskylib
-CATEGORIES=	news mail
 
-MAINTAINER=	osharoiko at gmail.com
 COMMENT=	Husky generic FTN library
 
 INSTALL_TARGET= install install-man
@@ -12,4 +10,4 @@ USE_LDCONFIG=	yes
 MASTERDIR=	${.CURDIR}/../husky
 COMPONENT_SUBDIR=	huskylib
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/news/husky-smapi/Makefile
==============================================================================
--- head/news/husky-smapi/Makefile	Mon Sep 21 21:34:28 2015	(r397522)
+++ head/news/husky-smapi/Makefile	Mon Sep 21 22:09:08 2015	(r397523)
@@ -1,9 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	husky-smapi
-CATEGORIES=	news mail
+PORTEPOCH=	1
 
-MAINTAINER=	osharoiko at gmail.com
 COMMENT=	Husky FTN MSGAPI library
 
 LIB_DEPENDS=    libhusky.so:${PORTSDIR}/news/husky-huskylib
@@ -13,4 +12,4 @@ USE_LDCONFIG=	yes
 MASTERDIR=	${.CURDIR}/../husky
 COMPONENT_SUBDIR=	smapi
 
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/news/husky/Makefile
==============================================================================
--- head/news/husky/Makefile	Mon Sep 21 21:34:28 2015	(r397522)
+++ head/news/husky/Makefile	Mon Sep 21 22:09:08 2015	(r397523)
@@ -1,15 +1,38 @@
 # $FreeBSD$
 
-PORTNAME=	husky
+PORTNAME?=	husky
+PORTVERSION=	1.9.20140519
+PORTREVISION?=	2
+PORTEPOCH?=	0
+CATEGORIES?=	news mail
+MASTER_SITES=	SF/husky/husky/1.9-current/2014.05.19
 
-COMMENT=	Husky full featured highly portable FTN Tosser
+MAINTAINER?=	osharoiko at gmail.com
+COMMENT?=	Husky full featured highly portable FTN Tosser
 
+DISTNAME=	husky-all-1.9-source-20140519
+
+.if ${PORTNAME} == "husky"
 RUN_DEPENDS=	hpt:${PORTSDIR}/news/husky-hpt \
 		htick:${PORTSDIR}/news/husky-htick
 
-MASTERDIR=	${.CURDIR}
-
 NO_BUILD=	yes
 NO_INSTALL=	yes
+.endif
+
+USES+=		alias gmake tar:tgz
+
+HUSKY_ROOTDIR=	${WRKDIR}/husky
+PATCH_WRKSRC=	${HUSKY_ROOTDIR}
+WRKSRC=		${HUSKY_ROOTDIR}/${COMPONENT_SUBDIR}
+PKGDIR=		${.CURDIR}
+
+USERS=		fido
+GROUPS=		fido
+
+pre-build:
+	${LN} -sf ${HUSKY_ROOTDIR}/huskybse/huskymak.cfg ${HUSKY_ROOTDIR}
+	@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|g++|${CXX}|' \
+		${HUSKY_ROOTDIR}/huskymak.cfg
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list