diff --git a/net-mgmt/whatmask/Makefile b/net-mgmt/whatmask/Makefile
index 7a6d57389033..75c19d07bc44 100644
--- a/net-mgmt/whatmask/Makefile
+++ b/net-mgmt/whatmask/Makefile
@@ -11,6 +11,7 @@ MAINTAINER=	adamw@FreeBSD.org
 COMMENT=	Convert between common subnet mask notations
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
 OPTIONS_DEFINE=	DOCS