diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-01-22 15:35:04 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-01-22 15:35:04 +0000 |
commit | a526a56286553f63fd30f05a41f0c921f79d7dc9 (patch) | |
tree | b5f02ec31040b5923d1e68405e03a00589431dcd /audio/linux-f8-openal | |
parent | Fixed typo: s/Obsolated/Obsoleted/ (diff) |
Switch to the USE_LINUX_RPM framework.
Diffstat (limited to 'audio/linux-f8-openal')
-rw-r--r-- | audio/linux-f8-openal/Makefile | 7 | ||||
-rw-r--r-- | audio/linux-f8-openal/bsd.linux.mk | 58 |
2 files changed, 5 insertions, 60 deletions
diff --git a/audio/linux-f8-openal/Makefile b/audio/linux-f8-openal/Makefile index 139ca448e91f..30987b7b5719 100644 --- a/audio/linux-f8-openal/Makefile +++ b/audio/linux-f8-openal/Makefile @@ -23,6 +23,9 @@ RUN_DEPENDS= ${LINUXBASE}/lib/libasound.so.2:${PORTSDIR}/audio/linux-alsa-lib \ ${LINUXBASE}/usr/lib/libvorbis.so.0:${PORTSDIR}/audio/linux-libvorbis ONLY_FOR_ARCHS= i386 amd64 -INSTALLS_LINUX_SHLIB= yes +USE_LINUX_RPM= yes +INSTALLS_SHLIB= yes +AUTOMATIC_PLIST=yes +DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr -.include "${.CURDIR}/../../audio/linux-openal/bsd.linux.mk" +.include <bsd.port.mk> diff --git a/audio/linux-f8-openal/bsd.linux.mk b/audio/linux-f8-openal/bsd.linux.mk deleted file mode 100644 index f87b26c533fe..000000000000 --- a/audio/linux-f8-openal/bsd.linux.mk +++ /dev/null @@ -1,58 +0,0 @@ -# $FreeBSD$ -# bsd.linux.mk - support for RPM packages which install in ${LINUXBASE} -# Maintainer: Jean-Yves Lefort <jylefort@FreeBSD.org> - -MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -PKGNAMEPREFIX?= linux- -EXTRACT_SUFX?= .${LINUX_ARCH}.rpm - -EXTRACT_DEPENDS+= rpm2cpio:${PORTSDIR}/archivers/rpm - -EXTRACT_CMD?= rpm2cpio -EXTRACT_BEFORE_ARGS?= -EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet - -USE_LINUX= yes -USE_LINUX_PREFIX= yes - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -DESCR?= ${.CURDIR}/../${PORTNAME}/pkg-descr -MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_ARCH} -PLIST?= ${WRKDIR}/.plist - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "amd64" -LINUX_ARCH?= i386 # the linuxulator does not yet support amd64 code -.elif ${ARCH} == "powerpc" -LINUX_ARCH?= ppc -.else -LINUX_ARCH?= ${ARCH} -.endif - -.if !target(pre-install) -pre-install: - @${RM} -f ${PLIST} - @cd ${WRKSRC} && \ - ${FIND} * ! -type d | ${SORT} >> ${PLIST} && \ - ${FIND} * -type d | ${SORT} -r \ - | ${GREP} -Ev '^(etc|lib|usr|usr/bin|usr/lib|usr/sbin|usr/share|usr/share/doc|usr/share/info|usr/share/man|usr/share/man/man[1-9n])$$' \ - | ${SED} -e 's|^|@dirrm |' >> ${PLIST} -. if defined(INSTALLS_LINUX_SHLIB) - @${ECHO_CMD} '@exec ${LINUXBASE}/sbin/ldconfig 2>/dev/null || true' >> ${PLIST} - @${ECHO_CMD} '@unexec ${LINUXBASE}/sbin/ldconfig 2>/dev/null || true' >> ${PLIST} -. endif -.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} -. if defined(INSTALLS_LINUX_SHLIB) - -${LINUXBASE}/sbin/ldconfig -. endif -.endif - -.include <bsd.port.post.mk> |