diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2000-04-10 12:31:02 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2000-04-10 12:31:02 +0000 |
commit | 7d2acfd09e1725ccfb44ddd83c3679ca0b762a88 (patch) | |
tree | ab4387e81433f3547433aed7001fc97468084f07 /Mk | |
parent | edd39ece4dcb30d77895a84de1fbe1ac91e8bd02 (diff) | |
download | ports-7d2acfd09e1725ccfb44ddd83c3679ca0b762a88.tar.gz ports-7d2acfd09e1725ccfb44ddd83c3679ca0b762a88.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 24337731b686..7c8ee50a7bd4 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -43,8 +43,11 @@ FreeBSD_MAINTAINER= asami@FreeBSD.org # # PORTNAME - Name of software. # PORTVERSION - Version of software. -# PKGNAME - Always defined as ${PORTNAME}-${PORTVERSION}. Do not -# define this in your Makefile. +# PKGNAMEPREFIX - Prefix to specify that port is language-specific, etc. +# PKGNAMESUFFIX - Suffix to specify compilation options. +# PKGNAME - Always defined as +# ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}. +# Do not define this in your Makefile. # DISTNAME - Name of port or distribution used in generating # WRKSRC and DISTFILES below (default: # ${PORTNAME}-${PORTVERSION}). @@ -1113,8 +1116,8 @@ FETCH_BEFORE_ARGS+= -l @${ECHO} "${PKGNAME}: You need to define PORTNAME and PORTVERSION instead of PKGNAME." @${FALSE} .endif -PKGNAME= ${PORTNAME}-${PORTVERSION} -DISTNAME?= ${PKGNAME} +PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} +DISTNAME?= ${PORTNAME}-${PORTVERSION} .else # old style PKGNAME?= ${DISTNAME} |