Lines 108-118
PKGNAMEPREFIX?= linux-${USE_LINUX}-
Link Here
|
108 |
# Please, define them in the Makefile of the port in case this assumption |
108 |
# Please, define them in the Makefile of the port in case this assumption |
109 |
# is not true. |
109 |
# is not true. |
110 |
|
110 |
|
111 |
DISTVERSION= ${PORTVERSION}-${RPMVERSION} |
111 |
DISTNAME?= ${PORTNAME}-${PORTVERSION} |
112 |
DISTNAME?= ${PORTNAME}-${DISTVERSION} |
112 |
DISTFILES?= ${DISTNAME}-${RPMVERSION}${EXTRACT_SUFX} |
113 |
DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} |
|
|
114 |
BIN_DISTFILES:= ${DISTFILES} |
113 |
BIN_DISTFILES:= ${DISTFILES} |
115 |
SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX}:SOURCE |
114 |
SRC_DISTFILES?= ${DISTNAME}-${RPMVERSION}${SRC_SUFX}:SOURCE |
116 |
EXTRACT_ONLY?= ${BIN_DISTFILES:C/:[^:]+$//} |
115 |
EXTRACT_ONLY?= ${BIN_DISTFILES:C/:[^:]+$//} |
117 |
|
116 |
|
118 |
. if defined(PACKAGE_BUILDING) |
117 |
. if defined(PACKAGE_BUILDING) |
Lines 175-181
pre-install: linux-rpm-generate-plist
Link Here
|
175 |
. if !target(linux-rpm-generate-plist) |
174 |
. if !target(linux-rpm-generate-plist) |
176 |
linux-rpm-generate-plist: |
175 |
linux-rpm-generate-plist: |
177 |
cd ${WRKSRC} && \ |
176 |
cd ${WRKSRC} && \ |
178 |
${FIND} * ! -path "stage/*" ! -type d | ${SORT} > ${PLIST} |
177 |
${FIND} * ! -type d | ${SORT} > ${PLIST} |
179 |
. endif |
178 |
. endif |
180 |
. endif |
179 |
. endif |
181 |
|
180 |
|
Lines 189-195
do-install:
Link Here
|
189 |
. if ${BRANDELF_FILES} |
188 |
. if ${BRANDELF_FILES} |
190 |
@cd ${WRKSRC} && ${BRANDELF} -t Linux ${BRANDELF_FILES} |
189 |
@cd ${WRKSRC} && ${BRANDELF} -t Linux ${BRANDELF_FILES} |
191 |
. endif |
190 |
. endif |
192 |
cd ${WRKSRC} && ${FIND} * ! -path "stage*" -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/{}" \; |
191 |
cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/{}" \; |
193 |
cd ${WRKSRC} && ${FIND} * ! -path "stage/*" ! -type d | ${CPIO} -pm -R root:wheel ${STAGEDIR}${PREFIX} |
192 |
cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${STAGEDIR}${PREFIX} |
194 |
. endif |
193 |
. endif |
195 |
.endif |
194 |
.endif |