Lines 33-45
PLIST_FILES= bin/moonlight-qt \
Link Here
|
33 |
share/metainfo/com.moonlight_stream.Moonlight.appdata.xml \ |
33 |
share/metainfo/com.moonlight_stream.Moonlight.appdata.xml \ |
34 |
share/icons/hicolor/scalable/apps/moonlight.svg \ |
34 |
share/icons/hicolor/scalable/apps/moonlight.svg \ |
35 |
|
35 |
|
|
|
36 |
.include <bsd.port.pre.mk> |
37 |
|
38 |
# fix ssl dependency lack on 12.x releases |
39 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 |
40 |
LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} -lssl -lcrypto |
41 |
.endif |
42 |
|
36 |
post-patch: |
43 |
post-patch: |
37 |
@${REINPLACE_CMD} -e 's@^ TARGET = moonlight.*@ TARGET = ${PORTNAME}${PKGNAMESUFFIX}@' \ |
|
|
38 |
${WRKSRC}/app/app.pro |
39 |
@${REINPLACE_CMD} -e 's@Exec=moonlight.*@Exec=${PORTNAME}${PKGNAMESUFFIX}@' \ |
44 |
@${REINPLACE_CMD} -e 's@Exec=moonlight.*@Exec=${PORTNAME}${PKGNAMESUFFIX}@' \ |
40 |
${WRKSRC}/app/deploy/linux/com.moonlight_stream.Moonlight.desktop |
45 |
${WRKSRC}/app/deploy/linux/com.moonlight_stream.Moonlight.desktop |
|
|
46 |
@${REINPLACE_CMD} -e 's@^ TARGET = moonlight.*@ TARGET = ${PORTNAME}${PKGNAMESUFFIX}@' \ |
47 |
${WRKSRC}/app/app.pro |
48 |
|
49 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 |
50 |
@${REINPLACE_CMD} -e 's@openssl @@' \ |
51 |
${WRKSRC}/app/app.pro |
52 |
@${REINPLACE_CMD} -e '/openssl/ d' \ |
53 |
${WRKSRC}/moonlight-common-c/moonlight-common-c.pro |
54 |
.endif |
41 |
|
55 |
|
42 |
post-install: |
56 |
post-install: |
43 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} |
57 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} |
44 |
|
58 |
|
45 |
.include <bsd.port.mk> |
59 |
.include <bsd.port.post.mk> |
46 |
- |
|
|