diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2005-12-20 01:51:49 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2005-12-20 01:51:49 +0000 |
commit | 90b5216d85a1c7f193fb0548644072d50506a67e (patch) | |
tree | a48a50d80d3156cf45e1c56210c1d8fdd5c91f58 /ports-mgmt | |
parent | f029e7b0f3f6485bd2abff5a6c4d59d89ccab761 (diff) | |
download | ports-90b5216d85a1c7f193fb0548644072d50506a67e.tar.gz ports-90b5216d85a1c7f193fb0548644072d50506a67e.zip |
Remove the multiple copies of these files that crept in here. I hate
patch(1).
Notes
Notes:
svn path=/head/; revision=151605
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portmk/Mk/bsd.linux-rpm.mk | 8550 | ||||
-rw-r--r-- | ports-mgmt/portmk/Mk/bsd.mail.mk | 497 |
2 files changed, 0 insertions, 9047 deletions
diff --git a/ports-mgmt/portmk/Mk/bsd.linux-rpm.mk b/ports-mgmt/portmk/Mk/bsd.linux-rpm.mk index 459178583cb2..97b41a5f7dd9 100644 --- a/ports-mgmt/portmk/Mk/bsd.linux-rpm.mk +++ b/ports-mgmt/portmk/Mk/bsd.linux-rpm.mk @@ -88,8553 +88,3 @@ new-plist: . endif .endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif -#-*- mode: Makefile; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# - -.if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) - -Linux_RPM_Include_MAINTAINER= jylefort@FreeBSD.org -Linux_RPM_Pre_Include= bsd.linux-rpm.mk - -RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio - -EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm - -USE_LINUX?= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -. if ${ARCH} == "amd64" -LINUX_RPM_ARCH?= i386 # the linuxulator does not yet support amd64 code -. elif ${ARCH} == "powerpc" -LINUX_RPM_ARCH?= ppc -. else -LINUX_RPM_ARCH?= ${ARCH} -. endif - -.endif - -.if defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Post_Include) - -Linux_RPM_Post_Include= bsd.linux-rpm.mk - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ -PKGNAMEPREFIX?= linux- - -EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= ${RPM2CPIO} -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} - -. if defined(AUTOMATIC_PLIST) - -. if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" -_LINUX_BASE_SUFFIX= 8 -. elif ${USE_LINUX} == "debian" -_LINUX_BASE_SUFFIX= debian -. else -# other linux_base ports do not provide a pkg-plist file -IGNORE= "uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\"" -. endif - -PLIST?= ${WRKDIR}/.PLIST.linux-rpm - -pre-install: linux-rpm-generate-plist - -linux-rpm-generate-plist: - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ - ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs - @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs - @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - -. endif - -. if !target(do-install) -do-install: - cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; - cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} -. endif - -. if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ - ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ - ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ - done -. endif - -.endif diff --git a/ports-mgmt/portmk/Mk/bsd.mail.mk b/ports-mgmt/portmk/Mk/bsd.mail.mk index 6a48710d3c62..df7bc292e0b0 100644 --- a/ports-mgmt/portmk/Mk/bsd.mail.mk +++ b/ports-mgmt/portmk/Mk/bsd.mail.mk @@ -69,500 +69,3 @@ BUILD_DEPENDS+= ${QMAIL_DEPENDS} ## End QMAIL Stuff .endif -#-*- mode: Fundamental; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# -# Please view me with 4 column tabs! - -.if !defined(_POSTMKINCLUDED) && !defined(Mail_Pre_Include) - -# Please make sure all changes to this file are passed through the maintainer. -# Do not commit them yourself (unless of course you're the Port's Wraith ;). -Mail_Include_MAINTAINER= garga@FreeBSD.org -Mail_Pre_Include= bsd.mail.mk - - -## Begin QMAIL Stuff - -# Ports can use the following vars: -# -# QMAIL_PREFIX - Define it if qmail is installed in a different PREFIX. -# Default: /var/qmail -# -# QMAIL_SLAVEPORT - Define it if you install a slaveport of qmail, to -# prevent stale dependencies. Valid slaveports are: -# ldap, mysql, smtp_auth+tls, spamcontrol and tls. -# -# USE_QMAIL_BUILD - Add qmail or qmail slaveport to BUILD_DEPENDS. -# -# USE_QMAIL_RUN - Add qmail or qmail slaveport to RUN_DEPENDS. -# -# USE_QMAIL - Add qmail or qmail slaveport to RUN and BUILD_DEPENDS. -# -# WANT_QMAIL - Set vars related to qmail, like QMAIL_PREFIX. - -QMAIL_PREFIX?= /var/qmail - -_QMAIL_VALID_SLAVEPORTS= ldap mysql smtp_auth+tls spamcontrol tls - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) || defined (USE_QMAIL_BUILD) - -.if defined(QMAIL_SLAVEPORT) -. for slave in ${_QMAIL_VALID_SLAVEPORTS} -. if ${QMAIL_SLAVEPORT:L} == ${slave} -_QMAIL_SLAVEPORT_OKAY= true -. endif -. endfor - -. if !defined(_QMAIL_SLAVEPORT_OKAY) -IGNORE= "Invalid QMAIL_SLAVEPORT value. Only one can be set, valid values are: ${_QMAIL_VALID_SLAVEPORTS}" -. endif -.endif - -.if defined(QMAIL_SLAVEPORT) -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:L} -.else -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) -RUN_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_BUILD) -BUILD_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.endif - -## End QMAIL Stuff - -.endif -#-*- mode: Fundamental; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# -# Please view me with 4 column tabs! - -.if !defined(_POSTMKINCLUDED) && !defined(Mail_Pre_Include) - -# Please make sure all changes to this file are passed through the maintainer. -# Do not commit them yourself (unless of course you're the Port's Wraith ;). -Mail_Include_MAINTAINER= garga@FreeBSD.org -Mail_Pre_Include= bsd.mail.mk - - -## Begin QMAIL Stuff - -# Ports can use the following vars: -# -# QMAIL_PREFIX - Define it if qmail is installed in a different PREFIX. -# Default: /var/qmail -# -# QMAIL_SLAVEPORT - Define it if you install a slaveport of qmail, to -# prevent stale dependencies. Valid slaveports are: -# ldap, mysql, smtp_auth+tls, spamcontrol and tls. -# -# USE_QMAIL_BUILD - Add qmail or qmail slaveport to BUILD_DEPENDS. -# -# USE_QMAIL_RUN - Add qmail or qmail slaveport to RUN_DEPENDS. -# -# USE_QMAIL - Add qmail or qmail slaveport to RUN and BUILD_DEPENDS. -# -# WANT_QMAIL - Set vars related to qmail, like QMAIL_PREFIX. - -QMAIL_PREFIX?= /var/qmail - -_QMAIL_VALID_SLAVEPORTS= ldap mysql smtp_auth+tls spamcontrol tls - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) || defined (USE_QMAIL_BUILD) - -.if defined(QMAIL_SLAVEPORT) -. for slave in ${_QMAIL_VALID_SLAVEPORTS} -. if ${QMAIL_SLAVEPORT:L} == ${slave} -_QMAIL_SLAVEPORT_OKAY= true -. endif -. endfor - -. if !defined(_QMAIL_SLAVEPORT_OKAY) -IGNORE= "Invalid QMAIL_SLAVEPORT value. Only one can be set, valid values are: ${_QMAIL_VALID_SLAVEPORTS}" -. endif -.endif - -.if defined(QMAIL_SLAVEPORT) -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:L} -.else -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) -RUN_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_BUILD) -BUILD_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.endif - -## End QMAIL Stuff - -.endif -#-*- mode: Fundamental; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# -# Please view me with 4 column tabs! - -.if !defined(_POSTMKINCLUDED) && !defined(Mail_Pre_Include) - -# Please make sure all changes to this file are passed through the maintainer. -# Do not commit them yourself (unless of course you're the Port's Wraith ;). -Mail_Include_MAINTAINER= garga@FreeBSD.org -Mail_Pre_Include= bsd.mail.mk - - -## Begin QMAIL Stuff - -# Ports can use the following vars: -# -# QMAIL_PREFIX - Define it if qmail is installed in a different PREFIX. -# Default: /var/qmail -# -# QMAIL_SLAVEPORT - Define it if you install a slaveport of qmail, to -# prevent stale dependencies. Valid slaveports are: -# ldap, mysql, smtp_auth+tls, spamcontrol and tls. -# -# USE_QMAIL_BUILD - Add qmail or qmail slaveport to BUILD_DEPENDS. -# -# USE_QMAIL_RUN - Add qmail or qmail slaveport to RUN_DEPENDS. -# -# USE_QMAIL - Add qmail or qmail slaveport to RUN and BUILD_DEPENDS. -# -# WANT_QMAIL - Set vars related to qmail, like QMAIL_PREFIX. - -QMAIL_PREFIX?= /var/qmail - -_QMAIL_VALID_SLAVEPORTS= ldap mysql smtp_auth+tls spamcontrol tls - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) || defined (USE_QMAIL_BUILD) - -.if defined(QMAIL_SLAVEPORT) -. for slave in ${_QMAIL_VALID_SLAVEPORTS} -. if ${QMAIL_SLAVEPORT:L} == ${slave} -_QMAIL_SLAVEPORT_OKAY= true -. endif -. endfor - -. if !defined(_QMAIL_SLAVEPORT_OKAY) -IGNORE= "Invalid QMAIL_SLAVEPORT value. Only one can be set, valid values are: ${_QMAIL_VALID_SLAVEPORTS}" -. endif -.endif - -.if defined(QMAIL_SLAVEPORT) -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:L} -.else -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) -RUN_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_BUILD) -BUILD_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.endif - -## End QMAIL Stuff - -.endif -#-*- mode: Fundamental; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# -# Please view me with 4 column tabs! - -.if !defined(_POSTMKINCLUDED) && !defined(Mail_Pre_Include) - -# Please make sure all changes to this file are passed through the maintainer. -# Do not commit them yourself (unless of course you're the Port's Wraith ;). -Mail_Include_MAINTAINER= garga@FreeBSD.org -Mail_Pre_Include= bsd.mail.mk - - -## Begin QMAIL Stuff - -# Ports can use the following vars: -# -# QMAIL_PREFIX - Define it if qmail is installed in a different PREFIX. -# Default: /var/qmail -# -# QMAIL_SLAVEPORT - Define it if you install a slaveport of qmail, to -# prevent stale dependencies. Valid slaveports are: -# ldap, mysql, smtp_auth+tls, spamcontrol and tls. -# -# USE_QMAIL_BUILD - Add qmail or qmail slaveport to BUILD_DEPENDS. -# -# USE_QMAIL_RUN - Add qmail or qmail slaveport to RUN_DEPENDS. -# -# USE_QMAIL - Add qmail or qmail slaveport to RUN and BUILD_DEPENDS. -# -# WANT_QMAIL - Set vars related to qmail, like QMAIL_PREFIX. - -QMAIL_PREFIX?= /var/qmail - -_QMAIL_VALID_SLAVEPORTS= ldap mysql smtp_auth+tls spamcontrol tls - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) || defined (USE_QMAIL_BUILD) - -.if defined(QMAIL_SLAVEPORT) -. for slave in ${_QMAIL_VALID_SLAVEPORTS} -. if ${QMAIL_SLAVEPORT:L} == ${slave} -_QMAIL_SLAVEPORT_OKAY= true -. endif -. endfor - -. if !defined(_QMAIL_SLAVEPORT_OKAY) -IGNORE= "Invalid QMAIL_SLAVEPORT value. Only one can be set, valid values are: ${_QMAIL_VALID_SLAVEPORTS}" -. endif -.endif - -.if defined(QMAIL_SLAVEPORT) -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:L} -.else -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) -RUN_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_BUILD) -BUILD_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.endif - -## End QMAIL Stuff - -.endif -#-*- mode: Fundamental; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# -# Please view me with 4 column tabs! - -.if !defined(_POSTMKINCLUDED) && !defined(Mail_Pre_Include) - -# Please make sure all changes to this file are passed through the maintainer. -# Do not commit them yourself (unless of course you're the Port's Wraith ;). -Mail_Include_MAINTAINER= garga@FreeBSD.org -Mail_Pre_Include= bsd.mail.mk - - -## Begin QMAIL Stuff - -# Ports can use the following vars: -# -# QMAIL_PREFIX - Define it if qmail is installed in a different PREFIX. -# Default: /var/qmail -# -# QMAIL_SLAVEPORT - Define it if you install a slaveport of qmail, to -# prevent stale dependencies. Valid slaveports are: -# ldap, mysql, smtp_auth+tls, spamcontrol and tls. -# -# USE_QMAIL_BUILD - Add qmail or qmail slaveport to BUILD_DEPENDS. -# -# USE_QMAIL_RUN - Add qmail or qmail slaveport to RUN_DEPENDS. -# -# USE_QMAIL - Add qmail or qmail slaveport to RUN and BUILD_DEPENDS. -# -# WANT_QMAIL - Set vars related to qmail, like QMAIL_PREFIX. - -QMAIL_PREFIX?= /var/qmail - -_QMAIL_VALID_SLAVEPORTS= ldap mysql smtp_auth+tls spamcontrol tls - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) || defined (USE_QMAIL_BUILD) - -.if defined(QMAIL_SLAVEPORT) -. for slave in ${_QMAIL_VALID_SLAVEPORTS} -. if ${QMAIL_SLAVEPORT:L} == ${slave} -_QMAIL_SLAVEPORT_OKAY= true -. endif -. endfor - -. if !defined(_QMAIL_SLAVEPORT_OKAY) -IGNORE= "Invalid QMAIL_SLAVEPORT value. Only one can be set, valid values are: ${_QMAIL_VALID_SLAVEPORTS}" -. endif -.endif - -.if defined(QMAIL_SLAVEPORT) -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:L} -.else -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) -RUN_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_BUILD) -BUILD_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.endif - -## End QMAIL Stuff - -.endif -#-*- mode: Fundamental; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# -# Please view me with 4 column tabs! - -.if !defined(_POSTMKINCLUDED) && !defined(Mail_Pre_Include) - -# Please make sure all changes to this file are passed through the maintainer. -# Do not commit them yourself (unless of course you're the Port's Wraith ;). -Mail_Include_MAINTAINER= garga@FreeBSD.org -Mail_Pre_Include= bsd.mail.mk - - -## Begin QMAIL Stuff - -# Ports can use the following vars: -# -# QMAIL_PREFIX - Define it if qmail is installed in a different PREFIX. -# Default: /var/qmail -# -# QMAIL_SLAVEPORT - Define it if you install a slaveport of qmail, to -# prevent stale dependencies. Valid slaveports are: -# ldap, mysql, smtp_auth+tls, spamcontrol and tls. -# -# USE_QMAIL_BUILD - Add qmail or qmail slaveport to BUILD_DEPENDS. -# -# USE_QMAIL_RUN - Add qmail or qmail slaveport to RUN_DEPENDS. -# -# USE_QMAIL - Add qmail or qmail slaveport to RUN and BUILD_DEPENDS. -# -# WANT_QMAIL - Set vars related to qmail, like QMAIL_PREFIX. - -QMAIL_PREFIX?= /var/qmail - -_QMAIL_VALID_SLAVEPORTS= ldap mysql smtp_auth+tls spamcontrol tls - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) || defined (USE_QMAIL_BUILD) - -.if defined(QMAIL_SLAVEPORT) -. for slave in ${_QMAIL_VALID_SLAVEPORTS} -. if ${QMAIL_SLAVEPORT:L} == ${slave} -_QMAIL_SLAVEPORT_OKAY= true -. endif -. endfor - -. if !defined(_QMAIL_SLAVEPORT_OKAY) -IGNORE= "Invalid QMAIL_SLAVEPORT value. Only one can be set, valid values are: ${_QMAIL_VALID_SLAVEPORTS}" -. endif -.endif - -.if defined(QMAIL_SLAVEPORT) -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:L} -.else -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) -RUN_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_BUILD) -BUILD_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.endif - -## End QMAIL Stuff - -.endif -#-*- mode: Fundamental; tab-width: 4; -*- -# ex:ts=4 -# -# $FreeBSD$ -# -# Please view me with 4 column tabs! - -.if !defined(_POSTMKINCLUDED) && !defined(Mail_Pre_Include) - -# Please make sure all changes to this file are passed through the maintainer. -# Do not commit them yourself (unless of course you're the Port's Wraith ;). -Mail_Include_MAINTAINER= garga@FreeBSD.org -Mail_Pre_Include= bsd.mail.mk - - -## Begin QMAIL Stuff - -# Ports can use the following vars: -# -# QMAIL_PREFIX - Define it if qmail is installed in a different PREFIX. -# Default: /var/qmail -# -# QMAIL_SLAVEPORT - Define it if you install a slaveport of qmail, to -# prevent stale dependencies. Valid slaveports are: -# ldap, mysql, smtp_auth+tls, spamcontrol and tls. -# -# USE_QMAIL_BUILD - Add qmail or qmail slaveport to BUILD_DEPENDS. -# -# USE_QMAIL_RUN - Add qmail or qmail slaveport to RUN_DEPENDS. -# -# USE_QMAIL - Add qmail or qmail slaveport to RUN and BUILD_DEPENDS. -# -# WANT_QMAIL - Set vars related to qmail, like QMAIL_PREFIX. - -QMAIL_PREFIX?= /var/qmail - -_QMAIL_VALID_SLAVEPORTS= ldap mysql smtp_auth+tls spamcontrol tls - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) || defined (USE_QMAIL_BUILD) - -.if defined(QMAIL_SLAVEPORT) -. for slave in ${_QMAIL_VALID_SLAVEPORTS} -. if ${QMAIL_SLAVEPORT:L} == ${slave} -_QMAIL_SLAVEPORT_OKAY= true -. endif -. endfor - -. if !defined(_QMAIL_SLAVEPORT_OKAY) -IGNORE= "Invalid QMAIL_SLAVEPORT value. Only one can be set, valid values are: ${_QMAIL_VALID_SLAVEPORTS}" -. endif -.endif - -.if defined(QMAIL_SLAVEPORT) -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:L} -.else -QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_RUN) -RUN_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.if defined(USE_QMAIL) || defined(USE_QMAIL_BUILD) -BUILD_DEPENDS+= ${QMAIL_DEPENDS} -.endif - -.endif - -## End QMAIL Stuff - -.endif |