diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2001-01-16 09:25:16 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2001-01-16 09:25:16 +0000 |
commit | cb60d32d8ced82a84a2996caf6acd7601fdceed0 (patch) | |
tree | 346c76c1dcfb0cec6de1eed732d4b25637b98613 /Mk/bsd.port.mk | |
parent | 0c29cb8687f346a8abe13464aa4a440292d778f2 (diff) | |
download | ports-cb60d32d8ced82a84a2996caf6acd7601fdceed0.tar.gz ports-cb60d32d8ced82a84a2996caf6acd7601fdceed0.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index f632b6ba1e70..9dafe6c72f5f 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -739,6 +739,12 @@ INSTALL_WRKSRC?=${WRKSRC} PLIST_SUB+= OSREL=${OSREL} PREFIX=%D LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} +.if defined(NOPORTDOCS) +PLIST_SUB+= PORTDOCS="@comment " +.else +PLIST_SUB+= PORTDOCS="" +.endif + CONFIGURE_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} SCRIPTS_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} MAKE_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} @@ -810,8 +816,10 @@ RUN_DEPENDS+= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base .if defined(USE_MOTIF) USE_XPM= yes +.if !defined(NO_OPENMOTIF) LIB_DEPENDS+= Xm.2:${PORTSDIR}/x11-toolkits/open-motif .endif +.endif .if defined(USE_FREETYPE) LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype @@ -1046,6 +1054,15 @@ PKGMESSAGE?= ${PKGDIR}/pkg-message TMPPLIST?= ${WRKDIR}/.PLIST.mktmp +.if ${OSVERSION} >= 400000 +.for _CATEGORY in ${CATEGORIES} +PKGCATEGORY?= ${_CATEGORY} +.endfor +_PORTDIRNAME!= ${BASENAME} ${.CURDIR} +PORTDIRNAME?= ${_PORTDIRNAME} +PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME} +.endif + PKG_CMD?= /usr/sbin/pkg_create PKG_DELETE?= /usr/sbin/pkg_delete PKG_INFO?= /usr/sbin/pkg_info @@ -1066,6 +1083,9 @@ PKG_ARGS+= -D ${PKGMESSAGE} .if !defined(NO_MTREE) PKG_ARGS+= -m ${MTREE_FILE} .endif +.if defined(PKGORIGIN) +PKG_ARGS+= -o ${PKGORIGIN} +.endif .endif .if defined(PKG_NOCOMPRESS) PKG_SUFX?= .tar @@ -1382,7 +1402,7 @@ LDCONFIG_RUNLIST!= ${ECHO} ${LDCONFIG_PLIST} | ${SED} -e "s!%D!${PREFIX}!" .if ${OSVERSION} >= 300000 # You need an upgrade kit or make world newer than this -BSDPORTMKVERSION= 20000201 +BSDPORTMKVERSION= 20001103 .if exists(/var/db/port.mkversion) VERSIONFILE= /var/db/port.mkversion .else |