Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2006 21:26:17 -0600
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "M. Araujo" <araujo@bsdmail.org>
Cc:        ports@freebsd.org, alexbl@freebsd.org, pav@freebsd.org, sem@freebsd.org
Subject:   Re: Ports with a broken PKGORIGIN: russian/napster
Message-ID:  <790a9fff0611261926m7d80a55v98e3ed1e15640684@mail.gmail.com>
In-Reply-To: <20061127020704.8AB4824727@ws5-3.us4.outblaze.com>
References:  <20061127020704.8AB4824727@ws5-3.us4.outblaze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Looking at these two ports, it would be better to move all of the
slave operations into the master port.  This would require moving
russian/napster/files/}/extra-win2koi into audio/napster/files, and
making the following changes to the port:

# Date created:				21.07.2004
# Whom:					Roman Y. Bogdanov <sam@brj.pp.ru>
#
# $FreeBSD: /repoman/r/pcvs/ports/russian/napster/Makefile,v 1.2
2004/08/10 10:40:39 sem Exp $
#

PORTNAME=	nap
CATEGORIES=	russian

MAINTAINER=	sam@brj.pp.ru
COMMENT=	Client for the OpenNAP network with koi8 <> win1251 encoding patch

MASTERDIR=	${.CURDIR}/../../audio/napster

CONFLICTS=	nap-[0-9]*

+WITH_RUSSIAN_NAP=	yes
-WITH_ENCODING_PATCH=	yes
-
-pre-configure:
-	@${PATCH} ${PATCH_ARGS} < ${.CURDIR}/files/extra-win2koi

.include "${MASTERDIR}/Makefile"

=========

# New ports collection makefile for:    napster
# Date created:         Thu Nov 18 01:07:00 PST 1999
# Whom:                 dburr@FreeBSD.org
#
# $FreeBSD: /repoman/r/pcvs/ports/audio/napster/Makefile,v 1.29
2006/11/26 17:04:47 pav Exp $
#

PORTNAME=	nap
PORTVERSION=	1.5.4
CATEGORIES+=	audio net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	nap

MAINTAINER?=	araujo@bsdmail.org
COMMENT?=	An MP3 sharing, search, and chat client for the OpenNAP network

CONFLICTS?=	ru-nap-*

GNU_CONFIGURE=	yes

MAN1=	nap.1

+.if defined(WITH_RUSSIAN_NAP)
+WITH_ENCODIN_PATCH=	yes
+EXTRA_PATCHES=		${PATCHDIR}/extra-win2koi
+.endif

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in NEWS README doc/napster.txt doc/userguide.html
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>

Scot

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



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