54949cb577
The namespace::clean pragma removes all previously declared or imported symbols at the end of the current packages compile cycle. Functions called in the package itself will still be bound by their name, but they won't show up as methods on the class or its instances.
21 lines
451 B
Makefile
21 lines
451 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/08/20 13:44:36 simon Exp $
|
|
|
|
COMMENT = keep imports and functions out of your namespace
|
|
|
|
MODULES = cpan
|
|
DISTNAME = namespace-clean-0.08
|
|
CATEGORIES = devel
|
|
|
|
MAINTAINER = Simon Bertrang <simon@openbsd.org>
|
|
|
|
# Perl
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
RUN_DEPENDS = ::devel/p5-Scope-Guard
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
.include <bsd.port.mk>
|