openbsd-ports/audio/py-cddb/Makefile
kili 262f516a1b Avoid references to PKGNAME.
Remove noops like WRKDIST=${WRKDIR}/${DISTNAME}.
Drop DIST_SUBDIR where appropriate.

Problem mentioned by naddy.
Some simplifications and ok, steven.
2006-11-04 19:19:15 +00:00

34 lines
737 B
Makefile

# $OpenBSD: Makefile,v 1.7 2006/11/04 19:19:15 kili Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "CDDB audio CD track info access in Python"
DISTNAME= CDDB-1.4
PKGNAME= py-${DISTNAME:L}p0
CATEGORIES= audio
HOMEPAGE= http://cddb-py.sourceforge.net/
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cddb-py/}
# avoid possible conflict with the audio/p5-cddb distfile
DIST_SUBDIR= py-cddb
MODULES= lang/python
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-cddb
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-cddb
.include <bsd.port.mk>